mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
From "Serge Nikulin" <nikulin@actsw.amat.com>:
Don't trip on NULL function name in sigtramp.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
Fri Apr 28 15:31:10 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
From "Serge Nikulin" <nikulin@actsw.amat.com>:
|
||||
* m68k-tdep.c (delta68_in_sigtramp): Return 0 when the function
|
||||
name is unknow.
|
||||
|
||||
Fri Apr 28 12:21:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
From Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>:
|
||||
|
||||
@@ -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