Sun Dec 22 15:52:25 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
authorMartin Hunt <hunt@redhat.com>
Sun, 22 Dec 1996 23:56:01 +0000 (23:56 +0000)
committerMartin Hunt <hunt@redhat.com>
Sun, 22 Dec 1996 23:56:01 +0000 (23:56 +0000)
* d10v-tdep.c (d10v_skip_prologue): PR11287.  Fix problem where
some breakpoints weren't being set.

gdb/ChangeLog
gdb/d10v-tdep.c

index 8da8b92a47a044162fde792cbc912455218f20bc..56f0c08ad47fb6b080b08fb146a4ee04f1649591 100644 (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
index 790a153f3e350baa988b17e38715d2bb9f2b25e6..1f021ce66cc477c350abccae256c127db9c76090 100644 (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;
     }