aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/mips-tdep.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fbc9fc6..91d851e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index e430c97..e128a53 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -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