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: [rfc] Use auxillary vector to retrieve .dynamic/.interp sections


> ChangeLog:
> 
> 	* solib-svr4.c (read_program_header): New function.
> 	(scan_dyntag_auxv): New function.
> 	(elf_locate_base): Use it if scan_dyntag fails.
> 	(find_program_interpreter): New function.
> 	(enable_break): Use it instead of .interp section.
[...]
> Does this seem useful / reasonble for mainline?

I only loosely reviewed the patch itself, but the idea seems reasonable
to me, particularly since it only tries the auxv iff the traditional
method didn't work.

-- 
Joel


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