Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jason Merrill <jason@redhat.com>
To: Daniel Jacobowitz <dmj+@andrew.cmu.edu>
Cc: libstdc++@gcc.gnu.org, gdb@sources.redhat.com
Subject: Re: C++ debugging progress
Date: Wed, 21 Nov 2001 22:26:00 -0000	[thread overview]
Message-ID: <wvlwv0awqdw.fsf@prospero.cambridge.redhat.com> (raw)
In-Reply-To: <20011128151819.A31514@nevyn.them.org> (Daniel Jacobowitz's message of "Wed, 28 Nov 2001 15:18:19 -0500")

>>>>> "Daniel" == Daniel Jacobowitz <dmj+@andrew.cmu.edu> writes:

> OK, if I'm reading this at all correctly, the offset in the baseclass
> definition is assumed to be 0 for a virtual baseclass, and ignored; it
> is assumed that there will be a $vb later.  So that offset slot is a
> perfect place to put the information I need.  Just let me know if it is
> relative to the start of the vtable or to the vtable pointer.  That'll
> be enough information to do a much better job.

The vtable pointer.

> I should add: is there some way we can disambiguate correct and
> incorrect debug info after this fix?  For Dwarf2 I see how to do it
> pretty easily.  Would an explicit minus sign work?  I think GDB won't
> croak on that.

That would be fine; just remove the negation from the dbxout.c patch.

Jason


WARNING: multiple messages have this Message-ID
From: Jason Merrill <jason@redhat.com>
To: Daniel Jacobowitz <dmj+@andrew.cmu.edu>
Cc: libstdc++@gcc.gnu.org, gdb@sources.redhat.com
Subject: Re: C++ debugging progress
Date: Wed, 28 Nov 2001 13:14:00 -0000	[thread overview]
Message-ID: <wvlwv0awqdw.fsf@prospero.cambridge.redhat.com> (raw)
Message-ID: <20011128131400.vopapGwHQF-DwMDTlZgQgLcxSFTTqWdr3FZ0wO6Mtk4@z> (raw)
In-Reply-To: <20011128151819.A31514@nevyn.them.org>

>>>>> "Daniel" == Daniel Jacobowitz <dmj+@andrew.cmu.edu> writes:

> OK, if I'm reading this at all correctly, the offset in the baseclass
> definition is assumed to be 0 for a virtual baseclass, and ignored; it
> is assumed that there will be a $vb later.  So that offset slot is a
> perfect place to put the information I need.  Just let me know if it is
> relative to the start of the vtable or to the vtable pointer.  That'll
> be enough information to do a much better job.

The vtable pointer.

> I should add: is there some way we can disambiguate correct and
> incorrect debug info after this fix?  For Dwarf2 I see how to do it
> pretty easily.  Would an explicit minus sign work?  I think GDB won't
> croak on that.

That would be fine; just remove the negation from the dbxout.c patch.

Jason


  parent reply	other threads:[~2001-11-28 21:14 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-27 23:03 Daniel Jacobowitz
2001-11-18 21:43 ` Daniel Jacobowitz
2001-11-19  9:04 ` Benjamin Kosnik
2001-11-27 23:36   ` Benjamin Kosnik
2001-11-19 11:16 ` Daniel Berlin
2001-11-21 13:37   ` Dan Mosedale
2001-11-28 12:25     ` Dan Mosedale
2001-11-27 23:43   ` Daniel Berlin
2001-11-19 13:41 ` Jason Merrill
2001-11-28  1:31   ` Jason Merrill
2001-11-28  9:41   ` Daniel Jacobowitz
2001-11-21  4:12     ` Daniel Jacobowitz
2001-11-21  5:06     ` Daniel Berlin
2001-11-28 10:36       ` Daniel Berlin
2001-11-28 10:49       ` Daniel Jacobowitz
2001-11-21 12:33         ` Daniel Jacobowitz
2001-11-28 11:41     ` Jason Merrill
2001-11-21 13:21       ` Jason Merrill
2001-11-21 13:42       ` Daniel Jacobowitz
2001-11-28 12:32         ` Daniel Jacobowitz
2001-11-21 16:38       ` Jason Merrill
2001-11-22  0:13         ` Daniel Jacobowitz
2001-11-24 22:52           ` Jason Merrill
2001-11-29  9:44             ` Jason Merrill
2001-11-29 12:28             ` Daniel Jacobowitz
2001-11-25  8:34               ` Daniel Jacobowitz
2001-11-25  9:01               ` Kevin Buettner
2001-11-25 10:30                 ` Jason Merrill
2001-11-29 19:12                   ` Jason Merrill
2001-11-29 13:11                 ` Kevin Buettner
2001-11-29 12:50               ` Benjamin Kosnik
2001-11-25  8:40                 ` Benjamin Kosnik
2001-11-28 13:31           ` Daniel Jacobowitz
2001-11-28 13:03         ` Jason Merrill
     [not found]       ` <20011128151819.A31514@nevyn.them.org>
2001-11-21 22:26         ` Jason Merrill [this message]
2001-11-28 13:14           ` Jason Merrill

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=wvlwv0awqdw.fsf@prospero.cambridge.redhat.com \
    --to=jason@redhat.com \
    --cc=dmj+@andrew.cmu.edu \
    --cc=gdb@sources.redhat.com \
    --cc=libstdc++@gcc.gnu.org \
    /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