Fix library-list.dtd -> library-list-svr4.dtd

commit 2268b414f4
added file "features/library-list-svr4.dtd" but the added code uses
"library-list.dtd" instead.

Curiously after changing for a test s/name/nXme/ in the DTD making the
gdbserver output non-conforming there is no warning or regression seen (tested
gdb.base/shlib-call.exp, using_xfer is still 1).  I did not check more why the
DTD conformance verification does not work.

gdb/ChangeLog
2014-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
This commit is contained in:
Jan Kratochvil 2014-09-29 17:38:12 +02:00
parent cf7363b42b
commit 2eca4a8d84
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
* solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
2014-09-26 Simon Marchi <simon.marchi@ericsson.com>
* progspace.c (print_program_space): Don't prune program spaces

View File

@ -1209,7 +1209,7 @@ svr4_parse_libraries (const char *document, struct svr4_library_list *list)
memset (list, 0, sizeof (*list));
list->tailp = &list->head;
if (gdb_xml_parse_quick (_("target library list"), "library-list.dtd",
if (gdb_xml_parse_quick (_("target library list"), "library-list-svr4.dtd",
svr4_library_list_elements, document, list) == 0)
{
/* Parsed successfully, keep the result. */