aboutsummaryrefslogtreecommitdiff
path: root/gdb/xml-support.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xml-support.c')
-rw-r--r--gdb/xml-support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xml-support.c b/gdb/xml-support.c
index 2b19a00..587a3af 100644
--- a/gdb/xml-support.c
+++ b/gdb/xml-support.c
@@ -595,7 +595,7 @@ gdb_xml_parser::parse (const char *buffer)
&& m_error.error == XML_PARSE_ERROR)
{
gdb_assert (m_error.message != NULL);
- error_string = m_error.message;
+ error_string = m_error.what ();
}
else if (status == XML_STATUS_ERROR)
{