[BUG] Regression in 2.14.90 (relative to 2.13.90)

Daniel Jacobowitz drow@mvista.com
Wed Nov 26 04:30:00 GMT 2003
On Wed, Nov 26, 2003 at 03:13:25AM +0100, Carlo Wood wrote:
> It certainly doesn't exist at 0x0.
> 
> Please just let gdb ignore such entries with PC=0.

No.  A number of embedded targets _do_ have code at PC=0 - including
some of the simulator targets (I think), and Harvard architecture
processors.  Emitting garbage line info that says code is there is a
bug in the debug info producers, not the consumer.

GDB already has several hacks to ignore info at 0.  I strongly oppose
adding more; as GNU ld gets better at producing correct info the
existing ones should be removed.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Binutils mailing list