This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [PATCH] Allow dwarf2 debug info for function at address 0


On Mon, Jul 24, 2006 at 11:39:42PM +0200, Frédéric Riss wrote:
> OK; so my testing was deficient... but maybe we're not speaking of the
> same 'correct handling'? 
> 
> I thought that we had issues with relocating the debug information
> coming from different linkonce sections against the only one kept in the
> linked file... but that definitely works for me on a simple example. 

It depends what version of binutils you've got installed.  At least one
of HJ's "Linux binutils" releases does this, but it's actually even
more wrong to point multiple copies of the debug information at
the same code address; you can get very confusing mismatches if they
were e.g. compiled by different compilers.

Thanks for the revised patch; it looks great.

-- 
Daniel Jacobowitz
CodeSourcery


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