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: [patchv3 7/8] Validate symbol file using build-id


On 03/02/2014 06:49 PM, Jan Kratochvil wrote:
> I find it more appropriate place that solib-svr4.c as it is a place where
> person implementing the feature will place the code - without possibly looking
> at the definition of this field.  But it all does not matter too much.
> 
> Added for the 'build_idsz' field:
>        Reading target memory should be done by following execution view 
>        of the binary (following program headers in the case of ELF).
>        Computing address from the linking view (following ELF section
>        headers) may give incorrect build-id memory address despite the
>        symbols still match.  
>        Such an example is a prelinked vs.  unprelinked i386 ELF file.  */

Thanks.

-- 
Pedro Alves


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