[RFA] dw2-ranges.exp: Build dw2-ranges3.S with -gdwarf-2 (not -gstabs)
Jan Kratochvil
jan.kratochvil@redhat.com
Thu Feb 17 06:44:00 GMT 2011
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
More information about the Gdb-patches
mailing list