This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Change rs6000 ELF targets to use DWARF2 by default in GCC.


On Sun, Aug 12, 2001 at 11:51:57PM -0700, Geoff Keating wrote:
> 
> I understand that while DWARF2 may be bigger, it is also more
> complete, and in particular it has a better chance of dealing with the
> new optimisations.  I would rather better debugging information than
> smaller debugging information, and those who disagree can always use
> -g1 (or -gstabs for that matter).
> 
> Tested on powerpc-eabisim.  I didn't test gdb as I can't tell which
> failures would be "normal" for dwarf2.  I am nonetheless hoping
> that gdb's testresults on powerpc will improve because of this patch.
> 
> I've actually had this patch in my local tree for about 4 months, but
> it's only recently that the automated tester has managed to upgrade
> its binutils; there is an essential binutils patch that's required for
> GCC's libraries to build on the EABI targets (to support
> -mrelocatable).

What do you think of doing a similar thing to all the non-rs6000 Linux
targets in addition, and possibly any others that it seems to be safe
on - all on a case by case basis with GDB testsuites, where possible? 
I know that at least SH-Linux (and ia64?  I believe) already use DWARF2
by default.  I believe there's a binutils problem preventing me from
using DWARF2 on MIPS, but it may have been fixed recently...


-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]