aboutsummaryrefslogtreecommitdiff
path: root/gdb/features
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-07-02 22:01:09 +0000
committerDaniel Jacobowitz <drow@false.org>2007-07-02 22:01:09 +0000
commitcfa9d6d99135b1d59ecf0756247305cc24869549 (patch)
treef8d53c87058ca989e80893150b5309c782bc3870 /gdb/features
parentb0f4b84b5c44685c7880e9e3e013314590662a17 (diff)
downloadgdb-cfa9d6d99135b1d59ecf0756247305cc24869549.zip
gdb-cfa9d6d99135b1d59ecf0756247305cc24869549.tar.gz
gdb-cfa9d6d99135b1d59ecf0756247305cc24869549.tar.bz2
* Makefile.in (XMLFILES): Add library-list.dtd.
(ALLDEPFILES): Add solib-target.o. (solib-target.o): New rule. * remote.c (PACKET_qXfer_libraries): New constant. (remote_protocol_features): Add qXfer:libraries:read. (remote_wait): Recognize library stop replies. (remote_async_wait): Likewise. Fix typo. (remote_xfer_partial): Handle TARGET_OBJECT_LIBRARIES. (init_remote_async_ops): Fix typo. (_initialize_remote): Register "set remote library-info-packet". * solib-som.c (som_current_sos): Set addr_low and addr_high. * solib-target.c: New file. * solib.c (solib_map_sections): Use addr_low and addr_high instead of textsection. (info_sharedlibrary_command): Likewise. (solib_add_library, solib_remove_library): New. * solist.h (struct so_list): Replace textsection with addr_low and addr_high. * target.h (enum target_object): Add TARGET_OBJECT_LIBRARIES. * NEWS: Describe new qXfer:libraries:read and shared library event support. * features/library-list.dtd: New. * gdb.texinfo (Remote Configuration): Document library-info-packet. Add other missing entries. Adjust the table size to fit. (Stop Reply Packets): Use @itemize instead of @enumerate. Document stop reasons including the new "library" event. (General Query Packets): Adjust table widths for qSupported. Mention qXfer:libraries:read reply to qSupported and document the new packet. (Library List Format): New section.
Diffstat (limited to 'gdb/features')
-rw-r--r--gdb/features/library-list.dtd15
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/features/library-list.dtd b/gdb/features/library-list.dtd
new file mode 100644
index 0000000..44aa8c8
--- /dev/null
+++ b/gdb/features/library-list.dtd
@@ -0,0 +1,15 @@
+<!-- Copyright (C) 2007 Free Software Foundation, Inc.
+
+ Copying and distribution of this file, with or without modification,
+ are permitted in any medium without royalty provided the copyright
+ notice and this notice are preserved. -->
+
+<!-- library-list: Root element with versioning -->
+<!ELEMENT library-list (library)*>
+<!ATTLIST library-list version CDATA #FIXED "1.0">
+
+<!ELEMENT library (segment)*>
+<!ATTLIST library name CDATA #REQUIRED>
+
+<!ELEMENT segment EMPTY>
+<!ATTLIST segment address CDATA #REQUIRED>