ELF phdrs in .debug files

Roland McGrath roland@redhat.com
Tue May 22 17:42:00 GMT 2007


>    Roland - I assume that it is unlikely that the elfutils could/would 
> be modified to use the section header information if the program header 
> information is unavailable.  Is this correct ?

That's correct.  I am not willing to make it do the wrong thing.

>    (By the way, does GDB work with a stripped executable which has had 
> its section headers removed, but its program headers left in tact ?  Can 
> GDB use a debug-info file connected with such an executable ?)

I sincerely doubt it.  

> Is this a fair assessment of the debate so far ?

I believe so.


Thanks,
Roland



More information about the Binutils mailing list