aboutsummaryrefslogtreecommitdiff
path: root/gdb/xml-syscall.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-03-04 21:55:45 +0000
committerMichael Snyder <msnyder@vmware.com>2011-03-04 21:55:45 +0000
commit154f592e0cc9561eb246ab6791e3cd5acb56fab5 (patch)
tree65fde2208993235def61fe491af2d2433bc80c36 /gdb/xml-syscall.c
parent63ffa6eea3815c2bbe36bf4df525315bc1c1b18f (diff)
downloadgdb-154f592e0cc9561eb246ab6791e3cd5acb56fab5.zip
gdb-154f592e0cc9561eb246ab6791e3cd5acb56fab5.tar.gz
gdb-154f592e0cc9561eb246ab6791e3cd5acb56fab5.tar.bz2
2011-03-04 Michael Snyder <msnyder@vmware.com>
* xml-syscall.c (syscall_start_syscall): Assert name is non null.
Diffstat (limited to 'gdb/xml-syscall.c')
-rw-r--r--gdb/xml-syscall.c1
1 files changed, 1 insertions, 0 deletions
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);
}