This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [obish] -Wunused-function warnings


On Mon, 19 Jan 2004 13:31:23 -0500
Andrew Cagney <cagney@gnu.org> wrote:

> Here's this week's list.  It's noticably shorter, and core-GDB items 
> still remaining have been figured out.  Again, can I encourage 
> architecture maintainers to check this out.

I've taken care of the unused declarations in frv-tdep.c.  I've just
committed the following patch:

	* frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
	unused declarations.

Index: frv-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/frv-tdep.c,v
retrieving revision 1.66
diff -u -p -r1.66 frv-tdep.c
--- frv-tdep.c	17 Jan 2004 15:34:11 -0000	1.66
+++ frv-tdep.c	19 Jan 2004 23:09:18 -0000
@@ -44,8 +44,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 gdbarch_frameless_function_invocation_ftype frv_frameless_function_invocation;
-static gdbarch_deprecated_push_arguments_ftype frv_push_arguments;
-static gdbarch_deprecated_saved_pc_after_call_ftype frv_saved_pc_after_call;
 
 /* Register numbers.  The order in which these appear define the
    remote protocol, so take care in changing them.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]