aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/mips-tdep.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5ada106..fbc9fc6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2004-09-04 Joel Brobecker <brobecker@gnat.com>
+ * mips-tdep.c (mips32_heuristic_proc_desc): Remove code that was
+ left behind by error.
+
+2004-09-04 Joel Brobecker <brobecker@gnat.com>
+
* config/alpha/nm-osf.h (PTRACE_ARG3_TYPE): Remove define.
* config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Likewise.
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)