This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob] Zap dead declarations
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 20 Jan 2004 23:11:08 -0500
- Subject: [ob] Zap dead declarations
Hello,
The following function declarations have no implementation, zapped.
Andrew
2004-01-20 Andrew Cagney <cagney@redhat.com>
* source.c (ambiguous_line_spec): Delete never-defined function.
* remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto.
* gdbtypes.c (add_name, add_mangled_type): Ditto.
* cli/cli-cmds.c (validate_comname): Ditto.
Index: gdbtypes.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtypes.c,v
retrieving revision 1.78
diff -u -r1.78 gdbtypes.c
--- gdbtypes.c 6 Oct 2003 19:27:12 -0000 1.78
+++ gdbtypes.c 21 Jan 2004 04:07:22 -0000
@@ -127,8 +127,6 @@
int len;
}; /* maximum extension is 128! FIXME */
-static void add_name (struct extra *, char *);
-static void add_mangled_type (struct extra *, struct type *);
static void print_bit_vector (B_TYPE *, int);
static void print_arg_types (struct field *, int, int);
static void dump_fn_fieldlists (struct type *, int);
Index: remote-rdi.c
===================================================================
RCS file: /cvs/src/src/gdb/remote-rdi.c,v
retrieving revision 1.29
diff -u -r1.29 remote-rdi.c
--- remote-rdi.c 21 Sep 2003 01:26:45 -0000 1.29
+++ remote-rdi.c 21 Jan 2004 04:07:24 -0000
@@ -76,10 +76,6 @@
static void arm_rdi_store_registers (int regno);
-static void arm_rdi_mourn (void);
-
-static void arm_rdi_send (char *buf);
-
static ptid_t arm_rdi_wait (ptid_t ptid, struct target_waitstatus *status);
static void arm_rdi_kill (void);
Index: cli/cli-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/cli/cli-cmds.c,v
retrieving revision 1.37
diff -u -r1.37 cli-cmds.c
--- cli/cli-cmds.c 17 Dec 2003 21:47:47 -0000 1.37
+++ cli/cli-cmds.c 21 Jan 2004 04:07:24 -0000
@@ -59,8 +59,6 @@
static void show_version (char *, int);
-static void validate_comname (char *);
-
static void help_command (char *, int);
static void show_command (char *, int);