* hppa-tdep.c (hppa_frame_cache): Avoid undefined return value.
authorJoel Brobecker <brobecker@gnat.com>
Fri, 5 Mar 2004 04:49:52 +0000 (04:49 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 5 Mar 2004 04:49:52 +0000 (04:49 +0000)
gdb/ChangeLog
gdb/hppa-tdep.c

index 884cf2c5a013bb806e70d879231961e7d5b0d39a..8237ba33c51bea8e041e158d0ec66728764a70bf 100644 (file)
@@ -1,3 +1,7 @@
+2004-03-04  J. Brobecker  <brobecker@gnat.com>
+
+       * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value.
+
 2004-03-04  Daniel Jacobowitz  <drow@mvista.com>
 
        * dwarf2read.c: Add comment describing memory lifetimes.
index ccbdcba21c8e7a252451ea8d875c421ca76c686a..549a81127f2c1055f4ff16ada0e0a0b109230e0d 100644 (file)
@@ -4617,7 +4617,7 @@ hppa_frame_cache (struct frame_info *next_frame, void **this_cache)
   /* Yow! */
   u = find_unwind_entry (frame_func_unwind (next_frame));
   if (!u)
-    return;
+    return (*this_cache);
 
   /* Turn the Entry_GR field into a bitmask.  */
   saved_gr_mask = 0;
This page took 0.028399 seconds and 4 git commands to generate.