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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [BUG] Regression in 2.14.90 (relative to 2.13.90)


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


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