Define the xml document style for transferring branch trace data.
authorMarkus Metzger <mmetzger@sourceware.org>
Mon, 11 Mar 2013 08:28:58 +0000 (08:28 +0000)
committerMarkus Metzger <mmetzger@sourceware.org>
Mon, 11 Mar 2013 08:28:58 +0000 (08:28 +0000)
commitc12a29171fe3379095cfc896e0f8ddfb18c614c3
tree309b8ca660993ea0fb05996e446d84e315c65182
parent3e3aea48e21e35069ec893c4b5d49de494f8329c
Define the xml document style for transferring branch trace data.

Add a function to parse a btrace xml document into a vector of branch trace
blocks.

gdb/
* features/btrace.dtd: New file.
* Makefile.in (XMLFILES): Add btrace.dtd.
* btrace.h (parse_xml_btrace): New declaration.
* btrace.c: Include xml-support.h.
(parse_xml_btrace): New function.
(parse_xml_btrace_block): New function.
(block_attributes): New struct.
(btrace_attributes): New struct.
(btrace_children): New struct.
(btrace_elements): New struct.
gdb/ChangeLog
gdb/Makefile.in
gdb/btrace.c
gdb/btrace.h
gdb/features/btrace.dtd [new file with mode: 0644]