From: Martin Hunt Date: Sun, 22 Dec 1996 23:56:01 +0000 (+0000) Subject: Sun Dec 22 15:52:25 1996 Martin M. Hunt X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=294f72b25b6f89c7254403e59640ecb062b778aa;p=binutils-gdb.git Sun Dec 22 15:52:25 1996 Martin M. Hunt * d10v-tdep.c (d10v_skip_prologue): PR11287. Fix problem where some breakpoints weren't being set. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8da8b92a47a..56f0c08ad47 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +start-sanitize-d10v +Sun Dec 22 15:52:25 1996 Martin M. Hunt + + * 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 diff --git a/gdb/d10v-tdep.c b/gdb/d10v-tdep.c index 790a153f3e3..1f021ce66cc 100644 --- a/gdb/d10v-tdep.c +++ b/gdb/d10v-tdep.c @@ -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; }