Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Michael Elizabeth Chastain <mec.gnu@mindspring.com>
Cc: gdb@sources.redhat.com
Subject: Re: gcc HEAD rearranges stabs members
Date: Tue, 30 Dec 2003 21:05:00 -0000	[thread overview]
Message-ID: <20031230210524.GA15444@nevyn.them.org> (raw)
In-Reply-To: <20031230205720.E23EB4B35A@berman.michael-chastain.com>

On Tue, Dec 30, 2003 at 03:57:20PM -0500, Michael Chastain wrote:
> gcc rearranged the structure members in stabs+ debug info.
> Ouch!  Ouch!
> 
> Last week (gdb 6.0, gcc HEAD 2003-12-23, binutils 2.14, -gstabs+):
> 
>   ptype class Foo
>   type = class Foo {
>     public:
>       int x;
>       int y;
>       static int st;
> 
>       Foo & operator=(Foo const&);
>       Foo(Foo const&);
>       Foo(int, int);
>       int operator!();
>       operator int();
>       int times(int);
>   }
> 
> This week (gdb 6.0, gcc HEAD 2003-12-28, binutils 2.14, -gstabs+):
> 
>   ptype class Foo
>   type = class Foo {
>     public:
>       int x;
>       int y;
>       static int st;
> 
>       Foo(int, int);
>       int operator!();
>       operator int();
>       int times(int);
>       Foo & operator=(Foo const&);
>       Foo(Foo const&);
>   }

So the synthetic members have moved to the end?

Might want to ping GCC about why this happened.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2003-12-30 21:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-30 20:57 Michael Elizabeth Chastain
2003-12-30 21:05 ` Daniel Jacobowitz [this message]
2003-12-31  3:39   ` Daniel Berlin
2003-12-31  1:20 Michael Elizabeth Chastain
2003-12-31  3:38 ` Daniel Jacobowitz

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=20031230210524.GA15444@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --cc=mec.gnu@mindspring.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