From 90edbfbc2cbef3c5282f65894cb6e0d9713fe118 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Sun, 5 Sep 2004 20:15:41 +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 fbc9fc64cdd..91d851e12e2 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 e430c979724..e128a5392aa 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.30.2