From b9a73dc4cd068837f3d2167fb0e08b0bf45a2280 Mon Sep 17 00:00:00 2001 From: brobecke Date: Sun, 5 Sep 2004 20:15:40 +0000 Subject: [PATCH] * mips-tdep.c (mips_insn16_frame_cache): Fix parameter in call to heuristic_proc_desc. (mips_insn32_frame_cache): Likewise. --- gdb/ChangeLog | 6 ++++++ gdb/mips-tdep.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fbc9fc64cd..91d851e12e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2004-09-05 Joel Brobecker + + * 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 * mips-tdep.c (mips32_heuristic_proc_desc): Remove code that was diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index e430c97972..e128a5392a 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 -- 2.11.0