mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 19:14:52 +08:00
c12a29171f
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.
13 lines
456 B
DTD
13 lines
456 B
DTD
<!-- Copyright (C) 2013 Free Software Foundation, Inc.
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
are permitted in any medium without royalty provided the copyright
|
|
notice and this notice are preserved. -->
|
|
|
|
<!ELEMENT btrace (block)* >
|
|
<!ATTLIST btrace version CDATA #FIXED "1.0">
|
|
|
|
<!ELEMENT block EMPTY>
|
|
<!ATTLIST block begin CDATA #REQUIRED
|
|
end CDATA #REQUIRED>
|