mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-29 15:00:34 +00: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:
parent
811e3c6a86
commit
5f630bb0e2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user