From 01f4bf2bf09874fee0ab9284362853d670ceee9b Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Sun, 5 Sep 2004 00:19:30 +0000 Subject: [PATCH] * mips-tdep.c (mips32_heuristic_proc_desc): Remove code that was left behind by error. --- gdb/ChangeLog | 5 +++++ gdb/mips-tdep.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5ada106e7a3..fbc9fc64cdd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-09-04 Joel Brobecker + + * mips-tdep.c (mips32_heuristic_proc_desc): Remove code that was + left behind by error. + 2004-09-04 Joel Brobecker * config/alpha/nm-osf.h (PTRACE_ARG3_TYPE): Remove define. diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 3ba88772d1d..e430c979724 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) -- 2.30.2