mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-09 21:22:20 +08:00
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