aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2004-09-05 00:19:30 +0000
committerJoel Brobecker <brobecker@gnat.com>2004-09-05 00:19:30 +0000
commit01f4bf2bf09874fee0ab9284362853d670ceee9b (patch)
treeb95177ec4833755a90c482474da747892ea62556 /gdb/mips-tdep.c
parent8acf2042245731ce4767d9b12a93381628851d69 (diff)
downloadgdb-01f4bf2bf09874fee0ab9284362853d670ceee9b.zip
gdb-01f4bf2bf09874fee0ab9284362853d670ceee9b.tar.gz
gdb-01f4bf2bf09874fee0ab9284362853d670ceee9b.tar.bz2
* mips-tdep.c (mips32_heuristic_proc_desc): Remove code that was
left behind by error.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 3ba8877..e430c97 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -2763,8 +2763,6 @@ mips32_heuristic_proc_desc (CORE_ADDR start_pc, CORE_ADDR limit_pc,
CORE_ADDR cur_pc;
CORE_ADDR frame_addr = 0; /* Value of $r30. Used by gcc for frame-pointer */
restart:
- this_cache = xrealloc (this_cache, SIZEOF_FRAME_SAVED_REGS);
- memset (this_cache, '\0', SIZEOF_FRAME_SAVED_REGS);
PROC_FRAME_OFFSET (&temp_proc_desc) = 0;
PROC_FRAME_ADJUST (&temp_proc_desc) = 0; /* offset of FP from SP */
for (cur_pc = start_pc; cur_pc < limit_pc; cur_pc += MIPS_INSTLEN)