This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Change rs6000 ELF targets to use DWARF2 by default in GCC.
- To: Geoff Keating <geoffk at redhat dot com>
- Subject: Re: Change rs6000 ELF targets to use DWARF2 by default in GCC.
- From: Daniel Jacobowitz <drow at mvista dot com>
- Date: Sun, 12 Aug 2001 23:49:09 -0700
- Cc: gcc-patches at gcc dot gnu dot org, gdb at sources dot redhat dot com
- References: <200108130651.XAA07256@geoffk.org>
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