From: Julian Seward Date: Mon, 13 Jun 2005 16:44:33 +0000 (+0000) Subject: Update with recent (minor) changes. X-Git-Tag: svn/VALGRIND_3_0_0~413 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=773d0348ae84f60abd0a95096c12f73d26ff72fe;p=thirdparty%2Fvalgrind.git Update with recent (minor) changes. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3905 --- diff --git a/README_XML_OUTPUT.txt b/README_XML_OUTPUT.txt index 136c962441..bd90cf9544 100644 --- a/README_XML_OUTPUT.txt +++ b/README_XML_OUTPUT.txt @@ -24,6 +24,8 @@ Design goals * Put as much information as possible into the XML and let the GUIs decide what to show the user (a.k.a provide mechanism, not policy). +* Make XML which is actually parseable by standard XML tools. + How to use ~~~~~~~~~~ @@ -76,10 +78,22 @@ The following nonterminals are not described further: TEXT is arbitrary text. HEX64 is a 64-bit hexadecimal number, with leading "0x". +Text strings are escaped so as to remove the <, > and & characters +which would otherwise mess up parsing. They are replaced respectively +with the standard encodings "<", ">" and "&" respectively. +Note this is not (yet) done throughout, only for function names in +.. tags-pairs. + TOPLEVEL -------- -All output is contained within the tag-pair . + +The first line output is always this: + + + +All remaining output is contained within the tag-pair +. Inside that, the first entity is an indication of the protocol version. This is provided so that existing parsers can identify XML @@ -107,7 +121,9 @@ following in sequence: components. The text in them can be anything; it is not intended for interpretation by the GUI: - Misc version/copyright text + + Misc version/copyright text (zero or more of) + * The PID of this process and of its parent: @@ -284,6 +300,7 @@ FRAME records a single program location: HEX64 optionally TEXT optionally TEXT + optionally TEXT optionally TEXT optionally INT @@ -297,6 +314,10 @@ The optional fields, if present, appear in the order stated: * fn: gives the name of the function containing the code address +* dir: gives the source directory associated with the name specified + by . Note the current implementation often does not + put anything useful in this field. + * file: gives the name of the source file containing the code address * line: gives the line number in the source file @@ -335,3 +356,4 @@ Suppressions not mentioned were used zero times. The is as specified in the suppression name fields in .supp files. +