summaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2011-03-15 19:03:48 +0000
committerMichael Snyder <msnyder@specifix.com>2011-03-15 19:03:48 +0000
commit41fdb83804a11830e523ed560848cc055b4c5d24 (patch)
tree09550351b9ac3a83f20fe4ccc020383155ac8fab /gdb/dbxread.c
parent672e9778c4d126b3f1ea2f4887a9058b8247c53f (diff)
downloadgdb-41fdb83804a11830e523ed560848cc055b4c5d24.tar.gz
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 2e32f388e16..9f9317de52e 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