From 2eca4a8d84ce27d0768702e93b8fca1578f84d06 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Mon, 29 Sep 2014 17:38:12 +0200 Subject: [PATCH] Fix library-list.dtd -> library-list-svr4.dtd commit 2268b414f486239cbcc0f756f157c3e03599efac 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 * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd". --- gdb/ChangeLog | 4 ++++ gdb/solib-svr4.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f0be36f3c9e..afaf056297f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-09-29 Jan Kratochvil + + * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd". + 2014-09-26 Simon Marchi * progspace.c (print_program_space): Don't prune program spaces diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 3deef209bce..978564c1bc1 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -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. */ -- 2.30.2