forked from Imagelibrary/binutils-gdb
Put in a check to make sure symbols have names; if there is no name, then
the symbol is not a function (I assume).
This commit is contained in:
@@ -688,6 +688,9 @@ funcsymbol( symp )
|
||||
* where `funny' includes `.', .o file names
|
||||
* and `$', pascal labels.
|
||||
*/
|
||||
if (!symp->name)
|
||||
return FALSE;
|
||||
|
||||
for (name = symp->name; *name; name++) {
|
||||
if ( *name == '.' || *name == '$' ) {
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user