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)


Hi Daniel,

>> 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.

Fair enough.

Is there a way to tell GDB that a particular line table entry is
invalid ?  Or is the linker supposed to delete such entries entirely
from the line table ?

Cheers
        Nick
        


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