diff options
author | Pedro Alves <palves@redhat.com> | 2011-01-25 09:49:59 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2011-01-25 09:49:59 +0000 |
commit | efc0eabd6019406ff92286a36713d41a42515e09 (patch) | |
tree | ba00441bc43cc80496e16e09e2e9ae366e2079dd /gdb/ChangeLog | |
parent | f30f86fa955570721c2c0c95468d975f216bf754 (diff) | |
download | gdb-efc0eabd6019406ff92286a36713d41a42515e09.zip gdb-efc0eabd6019406ff92286a36713d41a42515e09.tar.gz gdb-efc0eabd6019406ff92286a36713d41a42515e09.tar.bz2 |
Simplify XML parsing a bit.
* xml-support.h (gdb_xml_parse_quick): Declare.
* xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
from gdb_xml_create_parser_and_cleanup, and added `old_chain'
parameter.
(gdb_xml_create_parser_and_cleanup): Reimplement on top of
gdb_xml_create_parser_and_cleanup_1.
(gdb_xml_parse_quick): New.
* memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
* osdata.c (osdata_parse): Ditto.
* remote.c (remote_threads_info): Ditto.
* solib-target.c (solib_target_parse_libraries): Ditto.
* xml-syscall.c (syscall_parse_xml): Ditto.
* xml-tdesc.c (tdesc_parse_xml): Ditto.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 43d2956..059db18 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,21 @@ +2011-01-25 Pedro Alves <pedro@codesourcery.com> + + Simplify XML parsing a bit. + + * xml-support.h (gdb_xml_parse_quick): Declare. + * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed + from gdb_xml_create_parser_and_cleanup, and added `old_chain' + parameter. + (gdb_xml_create_parser_and_cleanup): Reimplement on top of + gdb_xml_create_parser_and_cleanup_1. + (gdb_xml_parse_quick): New. + * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick. + * osdata.c (osdata_parse): Ditto. + * remote.c (remote_threads_info): Ditto. + * solib-target.c (solib_target_parse_libraries): Ditto. + * xml-syscall.c (syscall_parse_xml): Ditto. + * xml-tdesc.c (tdesc_parse_xml): Ditto. + 2011-01-24 Kevin Buettner <kevinb@redhat.com> * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but |