From "Serge Nikulin" <nikulin@actsw.amat.com>:

Don't trip on NULL function name in sigtramp.
This commit is contained in:
Andrew Cagney
2000-04-28 05:48:25 +00:00
parent 69bcdfccc4
commit 3d026853d2
2 changed files with 10 additions and 1 deletions

View File

@@ -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> Fri Apr 28 12:21:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
From Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>: From Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>:

View File

@@ -91,7 +91,10 @@ delta68_in_sigtramp (pc, name)
CORE_ADDR pc; CORE_ADDR pc;
char *name; char *name;
{ {
return strcmp (name, "_sigcode") == 0; if (name != NULL)
return strcmp (name, "_sigcode") == 0;
else
return 0;
} }
CORE_ADDR CORE_ADDR