diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2014-09-29 17:38:12 +0200 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2014-09-29 17:38:12 +0200 |
commit | 2eca4a8d84ce27d0768702e93b8fca1578f84d06 (patch) | |
tree | 6bd52ec99051faada229a1dda9b175a266905fba /gdb | |
parent | cf7363b42b2fdc9fd108bed8d53b35adf4d52ad5 (diff) | |
download | gdb-2eca4a8d84ce27d0768702e93b8fca1578f84d06.zip gdb-2eca4a8d84ce27d0768702e93b8fca1578f84d06.tar.gz gdb-2eca4a8d84ce27d0768702e93b8fca1578f84d06.tar.bz2 |
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 <jan.kratochvil@redhat.com>
* solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/solib-svr4.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f0be36f..afaf056 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 3deef20..978564c 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. */ |