linux-mips
[Top] [All Lists]

Re: [PATCH] use generic DWARF_DEBUG

To: Thiemo Seufer <ths@networkno.de>
Subject: Re: [PATCH] use generic DWARF_DEBUG
From: Daniel Jacobowitz <dan@debian.org>
Date: Wed, 10 May 2006 08:50:42 -0400
Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>, linux-mips@linux-mips.org, ralf@linux-mips.org
In-reply-to: <20060510071937.GA7813@networkno.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060510.153604.82350680.nemoto@toshiba-tops.co.jp> <20060510071937.GA7813@networkno.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.8i
On Wed, May 10, 2006 at 08:19:37AM +0100, Thiemo Seufer wrote:
> Atsushi Nemoto wrote:
> > When debugging a kernel compiled by gcc 4.1 with gdb 6.4, gdb could
> > not show filename, linenumber, etc.  It seems fixed if I used generic
> > DWARF_DEBUG macro.  Although gcc 3.x seems work without this change,
> > it would be better to use the generic macro unless there were
> > something MIPS specific.
> 
> There was something MIPS specific for n64 (DWARF64) uuntil very
> recently. GCC HEAD switched n64 Linux to DWARF32 some days ago.

Shouldn't affect this.  What Atsushi is deleting are sections for DWARF
_1_, not DWARF _2_; that's ancient history.  I don't know why they need
to be listed at all, though; I've never had a problem, and orphan
placement ought to take care of it.

-- 
Daniel Jacobowitz
CodeSourcery

<Prev in Thread] Current Thread [Next in Thread>