Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Berlin <dan@cgsoftware.com>
To: Jim Blandy <jimb@zwingli.cygnus.com>
Cc: Daniel Berlin <dan@cgsoftware.com>, gdb@sources.redhat.com
Subject: Re: More C++ debugging comments
Date: Tue, 03 Jul 2001 12:48:00 -0000	[thread overview]
Message-ID: <87u20tdc9p.fsf@cgsoftware.com> (raw)
In-Reply-To: <npvgl9q41o.fsf@zwingli.cygnus.com>

Jim Blandy <jimb@zwingli.cygnus.com> writes:

> Daniel Berlin <dan@cgsoftware.com> writes:
>> However, it would require significant rework of the debugger to support it.
>> And some compiler work too.
> 
> Can Dwarf2.1 carry the necessary information?
Yes.
Easily.

> 
> I'm happy to rework the debugger's symbol tables as needed to make
> this stuff work.  But we need the right info from the compiler
> first.

You do, of course, realize that the reason the compiler has been
waiting to emit the right info is because the debugger hasn't
supported it yet.
It's a vicious cycle.
Unless it's the same person doing the work on both side, people tend
to either miss that the compiler is waiting on the debugger, or vice
versa.
We need some sort of official liasion or something.
Or maybe something that is subscribed to gcc-cvs, that when it
receives a commit message on *out.c (dbxout,dwarf2out,etc), forwards
it to a gdb list.

Considering how often these files are touched, and the fact that the
files *only* concern debug output, I don't think false positives would
be an issue.

Of course, this would only tell us when gcc has already changed, not
what hasn't been implemented because someone was waiting for the
debugger to do it.
> 
>> I can create symbols for namespaces if it helps, too (We always get these 
>> "no symbol named "A" in current context" where A is a namespace, since 
>> symbols don't exist for them).
> 
> The more information, the better, I'd say.
Okeydokey.



-- 
"Curiosity killed the cat, but for a while I was a suspect.
"-Steven Wright


      reply	other threads:[~2001-07-03 12:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-02 16:13 Jim Blandy
2001-07-02 16:51 ` Daniel Berlin
2001-07-03 11:06   ` Jim Blandy
2001-07-03 12:48     ` Daniel Berlin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87u20tdc9p.fsf@cgsoftware.com \
    --to=dan@cgsoftware.com \
    --cc=gdb@sources.redhat.com \
    --cc=jimb@zwingli.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox