This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] make DWARF2_DEBUG the default for ELF platforms.
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: David O'Brien <obrien at FreeBSD dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 5 Dec 2001 18:05:36 -0500
- Subject: Re: [PATCH] make DWARF2_DEBUG the default for ELF platforms.
- References: <20011205145526.A7125@dragon.nuxi.com>
On Wed, Dec 05, 2001 at 02:55:26PM -0800, David O'Brien wrote:
> 2001-12-05 David O'Brien <obrien@FreeBSD.org>
>
> * elfos.h (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
>
>
> Index: elfos.h
> ===================================================================
> RCS file: /cvs/gcc/egcs/gcc/config/elfos.h,v
> retrieving revision 1.39
> diff -u -r1.39 elfos.h
> --- elfos.h 2001/11/28 09:47:25 1.39
> +++ elfos.h 2001/12/05 22:52:30
> @@ -83,11 +83,12 @@
>
> #include "dbxelf.h"
>
> -/* The GNU tools operate better with stabs. Since we don't have
> - any native tools to be compatible with, default to stabs. */
> +/* The GNU tools operate better with dwarf2, and it is required by some
> + psABI's. Since we don't have any native tools to be compatible with,
> + default to dwarf2. */
Have you actually verified this comment?
For instance, I am fairly certain that MIPS dwarf2 is completely
broken right now.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer