This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] dw2-ranges.exp: Build dw2-ranges3.S with -gdwarf-2 (not -gstabs)
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 17 Feb 2011 07:41:23 +0100
- Subject: Re: [RFA] dw2-ranges.exp: Build dw2-ranges3.S with -gdwarf-2 (not -gstabs)
- References: <1297920803-15681-1-git-send-email-brobecker@adacore.com>
Hi Joel,
On Thu, 17 Feb 2011 06:33:23 +0100, Joel Brobecker wrote:
> Do you think this might have been a typo?
definitely not, see:
[patch] [2/2] Discontiguous PSYMTABs (psymtabs->symtabs by addrmap)
http://sourceware.org/ml/gdb-patches/2008-04/msg00533.html
and
[patch] [0/2] Discontiguous PSYMTABs
http://sourceware.org/ml/gdb-patches/2008-04/msg00531.html
"and the later patch to fix the regression was non-DWARF2
incompatible"
gdb.dwarf2/dw2-ranges3.S contains a comment
"Without this directive GAS will not emit DWARF2 unless" ...
which seems unrelated to the STABS output it produces. Just the gdb/ part of
the patch cannot be easily reverted to try reducing the patch and verifying it
still FAILed. All three gdb.dwarf2/dw2-ranges*.S contain the same first part,
this is how the "DWARF2" comment got it.
Thanks,
Jan