OSDN Git Service

* mips-tdep.c (mips_insn16_frame_cache): Fix parameter in call to
authorJoel Brobecker <brobecker@gnat.com>
Sun, 5 Sep 2004 20:15:41 +0000 (20:15 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Sun, 5 Sep 2004 20:15:41 +0000 (20:15 +0000)
        heuristic_proc_desc.
        (mips_insn32_frame_cache): Likewise.

gdb/ChangeLog
gdb/mips-tdep.c

index fbc9fc6..91d851e 100644 (file)
@@ -1,3 +1,9 @@
+2004-09-05  Joel Brobecker  <brobecker@gnat.com>
+
+       * mips-tdep.c (mips_insn16_frame_cache): Fix parameter in call to
+       heuristic_proc_desc.
+       (mips_insn32_frame_cache): Likewise.
+
 2004-09-04  Joel Brobecker  <brobecker@gnat.com>
 
        * mips-tdep.c (mips32_heuristic_proc_desc): Remove code that was
index e430c97..e128a53 100644 (file)
@@ -1813,7 +1813,7 @@ mips_insn16_frame_cache (struct frame_info *next_frame, void **this_cache)
       start_addr = heuristic_proc_start (pc);
 
 #ifdef NOT_YET
-    proc_desc = heuristic_proc_desc (start_addr, pc, next_frame, this_cache);
+    proc_desc = heuristic_proc_desc (start_addr, pc, next_frame, *this_cache);
 #else
     proc_desc = heuristic_proc_desc (start_addr, pc, next_frame, NULL);
 #endif
@@ -2074,7 +2074,7 @@ mips_insn32_frame_cache (struct frame_info *next_frame, void **this_cache)
       start_addr = heuristic_proc_start (pc);
 
 #ifdef NOT_YET
-    proc_desc = heuristic_proc_desc (start_addr, pc, next_frame, this_cache);
+    proc_desc = heuristic_proc_desc (start_addr, pc, next_frame, *this_cache);
 #else
     proc_desc = heuristic_proc_desc (start_addr, pc, next_frame, NULL);
 #endif