summaryrefslogtreecommitdiff
path: root/gdb/solib-som.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2007-07-02 22:01:09 +0000
committerDaniel Jacobowitz <dan@debian.org>2007-07-02 22:01:09 +0000
commit5f6185ba88020e5b27bfa247324dbb663d37a5ee (patch)
treef1252c252f8ae6fbf0a5cdd36857978eab4b48ca /gdb/solib-som.c
parent6822b2b997226699ac17670891a9af442ec0a9c8 (diff)
downloadgdb-5f6185ba88020e5b27bfa247324dbb663d37a5ee.tar.gz
* 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/solib-som.c')
-rw-r--r--gdb/solib-som.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/solib-som.c b/gdb/solib-som.c
index 9ef770892fb..dcc5f63cbb4 100644
--- a/gdb/solib-som.c
+++ b/gdb/solib-som.c
@@ -623,6 +623,9 @@ som_current_sos (void)
paddr_nz (new->lm_info->tsd_start_addr));
#endif
+ new->addr_low = lmi->text_addr;
+ new->addr_high = lmi->text_end;
+
/* Link the new object onto the list. */
new->next = NULL;
*link_ptr = new;