Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: mec.gnu@mindspring.com (Michael Elizabeth Chastain)
To: gdb@sources.redhat.com
Subject: gcc HEAD rearranges stabs members
Date: Tue, 30 Dec 2003 20:57:00 -0000	[thread overview]
Message-ID: <20031230205720.E23EB4B35A@berman.michael-chastain.com> (raw)

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&);
  }

Same change with gdb HEAD of course.

So I have to write a bunch of new patterns in gdb.cp/*.exp to match the
new output.  And I have to stare at all the differences and see if any
actual bugs crept in along with the rearrangement.

(David, this is why I like the HEAD test suite to keep working with
gdb 6.0 -- because the gdb 6.0 test suite just lost a lot of value
with gcc HEAD).

Hey, maybe some fixes crept in.  A guy can hope.

Michael C


             reply	other threads:[~2003-12-30 20:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-30 20:57 Michael Elizabeth Chastain [this message]
2003-12-30 21:05 ` Daniel Jacobowitz
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=20031230205720.E23EB4B35A@berman.michael-chastain.com \
    --to=mec.gnu@mindspring.com \
    --cc=gdb@sources.redhat.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