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-list-aix (library)*>
+<!ATTLIST library-list-aix version CDATA #FIXED "1.0">
<!ELEMENT library (name, member, text_addr, text_size, data_addr, data_size)>
<!ATTLIST library name CDATA #REQUIRED>
/* Convert the raw data into an XML representation. */
obstack_init (&obstack);
- obstack_grow_str (&obstack, "<library-list version=\"1.0\">\n");
+ obstack_grow_str (&obstack, "<library-list-aix version=\"1.0\">\n");
ldi = ldi_data;
while (1)
xfree (ldi_data);
- obstack_grow_str0 (&obstack, "</library-list>\n");
+ obstack_grow_str0 (&obstack, "</library-list-aix>\n");
buf = obstack_finish (&obstack);
len_avail = strlen (buf);
VEC_safe_push (lm_info_p, *list, item);
}
-/* Handle the start of a <library-list> element. */
+/* Handle the start of a <library-list-aix> element. */
static void
library_list_start_list (struct gdb_xml_parser *parser,
}
/* The allowed elements and attributes for an AIX library list
- described in XML format. The root element is a <library-list>. */
+ described in XML format. The root element is a <library-list-aix>. */
static const struct gdb_xml_attribute library_attributes[] =
{
static const struct gdb_xml_element library_list_elements[] =
{
- { "library-list", library_list_attributes, library_list_children,
+ { "library-list-aix", library_list_attributes, library_list_children,
GDB_XML_EF_NONE, library_list_start_list, NULL },
{ NULL, NULL, NULL, GDB_XML_EF_NONE, NULL, NULL }
};