aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-03-15 19:03:52 +0000
committerMichael Snyder <msnyder@vmware.com>2011-03-15 19:03:52 +0000
commit13f6513cd468be473c97822b4907b05bc408d69c (patch)
tree4925123258c8bf8a05bd35d1b8f8137138e5f568 /gdb/dbxread.c
parent50412521e8708f30e84ebd7d01bda034daf6411c (diff)
downloadgdb-13f6513cd468be473c97822b4907b05bc408d69c.zip
gdb-13f6513cd468be473c97822b4907b05bc408d69c.tar.gz
gdb-13f6513cd468be473c97822b4907b05bc408d69c.tar.bz2
2011-03-04 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
* dbxread.c (process_one_symbol): Assert 'name' is not null.
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r--gdb/dbxread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index 2e32f38..9f9317d 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -3289,6 +3289,7 @@ process_one_symbol (int type, int desc, CORE_ADDR valu, char *name,
Generally this is used so that an alias can refer to its main
symbol. */
+ gdb_assert (name);
if (name[0] == '#')
{
/* Initialize symbol reference names and determine if this is a