From: Michael Snyder Date: Fri, 4 Mar 2011 21:55:45 +0000 (+0000) Subject: 2011-03-04 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=154f592e0cc9561eb246ab6791e3cd5acb56fab5;p=binutils-gdb.git 2011-03-04 Michael Snyder * xml-syscall.c (syscall_start_syscall): Assert name is non null. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f2508294abd..1fdb680e3cc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-03-04 Michael Snyder + + * xml-syscall.c (syscall_start_syscall): Assert name is non null. + 2011-03-04 Thiago Jung Bauermann * eval.c (parse_and_eval_address_1): Remove function. diff --git a/gdb/xml-syscall.c b/gdb/xml-syscall.c index 271b2400670..369fb73058b 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); }