aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2004-09-05 20:15:41 +0000
committerJoel Brobecker <brobecker@gnat.com>2004-09-05 20:15:41 +0000
commit90edbfbc2cbef3c5282f65894cb6e0d9713fe118 (patch)
treeb2f24c494758639cc30538a6983c90c19f656073 /gdb
parenta5ecc6a5f53006b3e4d000902a13ee10333a40f2 (diff)
downloadgdb-90edbfbc2cbef3c5282f65894cb6e0d9713fe118.zip
gdb-90edbfbc2cbef3c5282f65894cb6e0d9713fe118.tar.gz
gdb-90edbfbc2cbef3c5282f65894cb6e0d9713fe118.tar.bz2
* mips-tdep.c (mips_insn16_frame_cache): Fix parameter in call to
heuristic_proc_desc. (mips_insn32_frame_cache): Likewise.
Diffstat (limited to 'gdb')
-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