aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/xml-syscall.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f250829..1fdb680 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-04 Michael Snyder <msnyder@vmware.com>
+
+ * xml-syscall.c (syscall_start_syscall): Assert name is non null.
+
2011-03-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
* eval.c (parse_and_eval_address_1): Remove function.
diff --git a/gdb/xml-syscall.c b/gdb/xml-syscall.c
index 271b240..369fb73 100644
--- a/gdb/xml-syscall.c
+++ b/gdb/xml-syscall.c
@@ -195,6 +195,7 @@ syscall_start_syscall (struct gdb_xml_parser *parser,
_("Unknown attribute name '%s'."), attrs[i].name);
}
+ gdb_assert (name);
syscall_create_syscall_desc (data->sysinfo, name, number);
}