projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic date update in version.in
[deliverable/binutils-gdb.git]
/
gdb
/
xml-tdesc.h
diff --git
a/gdb/xml-tdesc.h
b/gdb/xml-tdesc.h
index 8f0679707ad0f1e04d803f955f7fb98b4cc0c8c8..902509b51f2eb565c0ecc21edba0d2e6027e91f3 100644
(file)
--- a/
gdb/xml-tdesc.h
+++ b/
gdb/xml-tdesc.h
@@
-1,6
+1,6
@@
/* XML target description support for GDB.
/* XML target description support for GDB.
- Copyright (C) 2006-201
8
Free Software Foundation, Inc.
+ Copyright (C) 2006-201
9
Free Software Foundation, Inc.
Contributed by CodeSourcery.
Contributed by CodeSourcery.
@@
-22,7
+22,7
@@
#ifndef XML_TDESC_H
#define XML_TDESC_H
#ifndef XML_TDESC_H
#define XML_TDESC_H
-#include "
common
/gdb_optional.h"
+#include "
gdbsupport
/gdb_optional.h"
#include <string>
struct target_ops;
#include <string>
struct target_ops;
@@
-44,5
+44,10
@@
const struct target_desc *target_read_description_xml (struct target_ops *);
otherwise. */
gdb::optional<std::string> target_fetch_description_xml (target_ops *ops);
otherwise. */
gdb::optional<std::string> target_fetch_description_xml (target_ops *ops);
+/* Take an xml string, parse it, and return the parsed description. Does not
+ handle a string containing includes. */
+
+const struct target_desc *string_read_description_xml (const char *xml);
+
#endif /* XML_TDESC_H */
#endif /* XML_TDESC_H */
This page took
0.036263 seconds
and
4
git commands to generate.