binutils-gdb/gdb/features
Jan Kratochvil 2268b414f4 gdb/
* Makefile.in (XMLFILES): Add library-list-svr4.dtd.
	* features/library-list-svr4.dtd: New file.
	* remote.c (PACKET_qXfer_libraries_svr4): New.
	(remote_protocol_features): new entry for PACKET_qXfer_libraries_svr4.
	(remote_xfer_partial): Handle TARGET_OBJECT_LIBRARIES_SVR4.
	* solib-svr4.c (struct svr4_library_list): New.
	[HAVE_LIBEXPAT]: Include xml-support.h.
	[HAVE_LIBEXPAT] (svr4_library_list_start_library)
	[HAVE_LIBEXPAT] (svr4_library_list_start_list, svr4_library_attributes)
	[HAVE_LIBEXPAT] (svr4_library_list_children)
	[HAVE_LIBEXPAT] (svr4_library_list_attributes)
	[HAVE_LIBEXPAT] (svr4_library_list_elements, svr4_parse_libraries)
	[HAVE_LIBEXPAT] (svr4_current_sos_via_xfer_libraries)
	[!HAVE_LIBEXPAT] (svr4_current_sos_via_xfer_libraries): New.
	(svr4_read_so_list): Extend the corruption message by addresses.
	(svr4_current_sos): New variable library_list, call
	svr4_current_sos_via_xfer_libraries.
	* target.h (enum target_object): New TARGET_OBJECT_LIBRARIES_SVR4.

gdb/gdbserver/
	* linux-low.c (get_phdr_phnum_from_proc_auxv, get_dynamic, get_r_debug)
	(read_one_ptr, struct link_map_offsets, linux_qxfer_libraries_svr4):
	New.
	(struct linux_target_ops): Install linux_qxfer_libraries_svr4.
	* linux-low.h (struct process_info_private): New member r_debug.
	* server.c (handle_qxfer_libraries): Call
	the_target->qxfer_libraries_svr4.
	(handle_qxfer_libraries_svr4): New function.
	(qxfer_packets): New entry "libraries-svr4".
	(handle_query): Check QXFER_LIBRARIES_SVR4 and report libraries-svr4.
	* target.h (struct target_ops): New member qxfer_libraries_svr4.
	* remote.c (remote_xfer_partial): Call add_packet_config_cmd for
	PACKET_qXfer_libraries_svr4.

gdb/doc/
	* gdb.texinfo (Requirements, Remote Protocol): Reference also `Library
	List Format for SVR4 Targets'.
	(General Query Packets): New item qXfer:libraries-svr4:read.
	(Library List Format for SVR4 Targets): New node.

gdb/testsuite/
	* gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
	(corrupted list): Adjust the expectation.
2011-12-02 22:26:54 +00:00
..
i386
rs6000
Makefile
arm-core.xml
arm-fpa.xml
arm-m-profile.xml
arm-vfpv2.xml
arm-vfpv3.xml
arm-with-iwmmxt.c
arm-with-iwmmxt.xml
arm-with-m.c
arm-with-m.xml
arm-with-neon.c
arm-with-neon.xml
arm-with-vfpv2.c
arm-with-vfpv2.xml
arm-with-vfpv3.c
arm-with-vfpv3.xml
feature_to_c.sh
gdb-target.dtd
gdbserver-regs.xsl
library-list-svr4.dtd gdb/ 2011-12-02 22:26:54 +00:00
library-list.dtd
m68k-core.xml
mips-cp0.xml
mips-cpu.xml
mips-fpu.xml
mips-linux.c
mips-linux.xml
mips64-cp0.xml
mips64-cpu.xml
mips64-fpu.xml
mips64-linux.c
mips64-linux.xml
number-regs.xsl
osdata.dtd
s390-acr.xml
s390-core32.xml ChangeLog: 2011-11-30 16:06:55 +00:00
s390-core64.xml ChangeLog: 2011-11-30 16:06:55 +00:00
s390-fpr.xml
s390-linux32.c ChangeLog: 2011-11-30 16:06:55 +00:00
s390-linux32.xml
s390-linux64.c ChangeLog: 2011-11-30 16:06:55 +00:00
s390-linux64.xml
s390x-core64.xml ChangeLog: 2011-11-30 16:06:55 +00:00
s390x-linux64.c ChangeLog: 2011-11-30 16:06:55 +00:00
s390x-linux64.xml
sort-regs.xsl
threads.dtd
tic6x-c6xp.xml
tic6x-c62x-linux.c
tic6x-c62x-linux.xml
tic6x-c62x.c
tic6x-c62x.xml
tic6x-c64x-linux.c
tic6x-c64x-linux.xml
tic6x-c64x.c
tic6x-c64x.xml
tic6x-c64xp-linux.c
tic6x-c64xp-linux.xml
tic6x-c64xp.c
tic6x-c64xp.xml
tic6x-core.xml
tic6x-gp.xml
traceframe-info.dtd
xinclude.dtd
xscale-iwmmxt.xml