* symtab.c (lookup_symbol): Need to check if msymbol->name is
authorStu Grossman <grossman@cygnus>
Wed, 22 Apr 1992 17:01:22 +0000 (17:01 +0000)
committerStu Grossman <grossman@cygnus>
Wed, 22 Apr 1992 17:01:22 +0000 (17:01 +0000)
commit35a258406b3b386ab7c4196673e390fa3eb4dca5
treea0a8a3aff4cb100d47f3d489f891860130d7359d
parent4ace50a5102f0839b7838993401520d90ee268d2
* symtab.c (lookup_symbol):  Need to check if msymbol->name is
NULL, as ALL_MSYMBOLS will never return a NULL msymbol pointer.
This prevents a crash when trying to lookup the value of a
non-existent symbol.
gdb/ChangeLog
gdb/symtab.c