mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
From "Serge Nikulin" <nikulin@actsw.amat.com>:
Don't trip on NULL function name in sigtramp.
This commit is contained in:
@ -91,7 +91,10 @@ delta68_in_sigtramp (pc, name)
|
||||
CORE_ADDR pc;
|
||||
char *name;
|
||||
{
|
||||
return strcmp (name, "_sigcode") == 0;
|
||||
if (name != NULL)
|
||||
return strcmp (name, "_sigcode") == 0;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
CORE_ADDR
|
||||
|
Reference in New Issue
Block a user