aboutsummaryrefslogtreecommitdiff
path: root/gdb/xml-tdesc.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xml-tdesc.h')
-rw-r--r--gdb/xml-tdesc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/xml-tdesc.h b/gdb/xml-tdesc.h
index 8f06797..1e3caba 100644
--- a/gdb/xml-tdesc.h
+++ b/gdb/xml-tdesc.h
@@ -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);
+/* 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 */