* mn10200-tdep.c (mn10200_analyze_prologue): Fix null pointer
crash when in "start".
This commit is contained in:
parent
419997a6d4
commit
40fad4934f
|
@ -1,3 +1,8 @@
|
|||
Tue Jun 16 16:32:08 1998 Mark Alexander <marka@cygnus.com>
|
||||
|
||||
* mn10200-tdep.c (mn10200_analyze_prologue): Fix null pointer
|
||||
crash when in "start".
|
||||
|
||||
Tue Jun 16 14:38:40 1998 Ron Unrau (runrau@cygnus.com)
|
||||
|
||||
* dbxread.c: reset function_start_offset after a finishing N_FUN
|
||||
|
|
|
@ -123,7 +123,8 @@ mn10200_analyze_prologue (fi, pc)
|
|||
/* If we're in start, then give up. */
|
||||
if (strcmp (name, "start") == 0)
|
||||
{
|
||||
fi->status = NO_MORE_FRAMES;
|
||||
if (fi)
|
||||
fi->status = NO_MORE_FRAMES;
|
||||
return pc;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue