diff options
author | Pedro Alves <pedro@codesourcery.com> | 2008-03-14 22:30:07 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2008-03-14 22:30:07 +0000 |
commit | 004233069af0f8271bd0867ea8f866be8a9a80e3 (patch) | |
tree | b682d1b08873b1e7c9838138ce9e78c571f125a1 /gdb/features | |
parent | 28ca5662501ae768e122a7d335848073963c1fb1 (diff) | |
download | gdb-004233069af0f8271bd0867ea8f866be8a9a80e3.tar.gz |
* features/library-list.dtd: Allow "section" elements as children
of "library". Add "section" element and describe its attributes.
* solib-target.c (struct lm_info): Add section_bases member.
(library_list_start_segment): Error out if seen a section element.
(library_list_start_section): New.
(library_list_end_library): New.
(solib_target_free_library_list): Free section_bases.
(section_attributes): New.
(library_children): Make "segment" optional. Add "section" child.
(library_list_children): Register library_list_end_library.
(solib_target_relocate_section_addresses): Handle section bases.
* NEWS: Mention new qXfer:libraries:read section offsets support.
doc/
* gdb.texinfo (Library List Format): Update to mention the
possibility to pass section addresses instead of segment
addresses.
Diffstat (limited to 'gdb/features')
-rw-r--r-- | gdb/features/library-list.dtd | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/features/library-list.dtd b/gdb/features/library-list.dtd index c63048ad464..62a9baf3a56 100644 --- a/gdb/features/library-list.dtd +++ b/gdb/features/library-list.dtd @@ -8,8 +8,11 @@ <!ELEMENT library-list (library)*> <!ATTLIST library-list version CDATA #FIXED "1.0"> -<!ELEMENT library (segment)*> +<!ELEMENT library (segment*, section*)> <!ATTLIST library name CDATA #REQUIRED> <!ELEMENT segment EMPTY> <!ATTLIST segment address CDATA #REQUIRED> + +<!ELEMENT section EMPTY> +<!ATTLIST section address CDATA #REQUIRED> |