Sun Dec 22 15:52:25 1996 Martin M. Hunt <hunt@pizza.cygnus.com>

* d10v-tdep.c (d10v_skip_prologue): PR11287.  Fix problem where
	some breakpoints weren't being set.
This commit is contained in:
Martin Hunt 1996-12-22 23:56:01 +00:00
parent 988eafc044
commit 294f72b25b
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
start-sanitize-d10v
Sun Dec 22 15:52:25 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* d10v-tdep.c (d10v_skip_prologue): PR11287. Fix problem where
some breakpoints weren't being set.
end-sanitize-d10v
Sat Dec 21 12:57:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* config/mips/tm-mips.h (PC_IN_CALL_DUMMY): Removed, the default

View File

@ -131,7 +131,7 @@ d10v_skip_prologue (pc)
if (find_pc_partial_function (pc, NULL, &func_addr, &func_end))
{
sal = find_pc_line (func_addr, 0);
if (sal.end < func_end)
if ( sal.end && sal.end < func_end)
return sal.end;
}