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, MIPS] Support shared library debug with MIPS PIE (gdb)


Matthew Fortune <Matthew.Fortune@imgtec.com> writes:
> This tag allows debugging of MIPS position independent executables and
> provides access to shared library information.
> 
> gdb/gdbserver/
> 
> 	* linux-low.c (get_r_debug): Handle DT_MIPS_RLD_MAP_REL.
> 
> gdb/
> 
> 	* solib-svr4.c (read_program_header): Add base_addr argument to
> 	report the runtime address of the segment.
> 	(find_program_interpreter): Update read_program_header call to pass
> 	a NULL pointer for the new argument.
> 	(scan_dyntag): Add ptr_addr argument to report the runtime address
> 	of the tag payload.
> 	(scan_dyntag_auxv): Likewise and use thew new base_addr argument of
> 	read_program_header to get the base address of the dynamic segment.
> 	(elf_locate_base): Update uses of scan_dyntag, scan_dyntag_auxv and
> 	read_program_header.
> 	(elf_locate_base): Scan for and handle DT_MIPS_RLD_MAP_REL.

Ping.

Matthew


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