This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] minor frv-tdep.c cleanups
- From: Kevin Buettner <kevinb at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 15 Mar 2004 11:34:36 -0700
- Subject: [PATCH] minor frv-tdep.c cleanups
- Organization: Red Hat
I've committed the patch below...
* frv-tdep.c (frv_call_dummy_words): Delete.
(frv_frame_unwind_cache): Delete unused variable, ``prev_sp''.
Index: frv-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/frv-tdep.c,v
retrieving revision 1.76
diff -u -p -r1.76 frv-tdep.c
--- frv-tdep.c 13 Mar 2004 01:24:20 -0000 1.76
+++ frv-tdep.c 15 Mar 2004 18:29:10 -0000
@@ -48,9 +48,6 @@ static gdbarch_breakpoint_from_pc_ftype
static gdbarch_adjust_breakpoint_address_ftype frv_gdbarch_adjust_breakpoint_address;
static gdbarch_skip_prologue_ftype frv_skip_prologue;
-static LONGEST frv_call_dummy_words[] =
-{0};
-
struct frv_unwind_cache /* was struct frame_extra_info */
{
@@ -65,7 +62,6 @@ struct frv_unwind_cache /* was struct f
struct trad_frame_saved_reg *saved_regs;
};
-
/* A structure describing a particular variant of the FRV.
We allocate and initialize one of these structures when we create
the gdbarch object for a variant.
@@ -925,7 +921,6 @@ frv_frame_unwind_cache (struct frame_inf
{
struct gdbarch *gdbarch = get_frame_arch (next_frame);
CORE_ADDR pc;
- ULONGEST prev_sp;
ULONGEST this_base;
struct frv_unwind_cache *info;