This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Remove dead code from rs6000-tdep.c
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sourceware dot org
- Date: Sat, 22 Oct 2005 17:20:25 +0200 (CEST)
- Subject: [commit] Remove dead code from rs6000-tdep.c
Leftovers from the removal of the "info powerpc" command.
Comitted as obvious,
Mark
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.7384
diff -u -p -r1.7384 ChangeLog
--- ChangeLog 21 Oct 2005 09:14:48 -0000 1.7384
+++ ChangeLog 22 Oct 2005 15:11:05 -0000
@@ -1,3 +1,8 @@
+2005-10-20 Mark Kettenis <kettenis@gnu.org>
+
+ * rs6000-tdep.c (info_powerpc_cmdlist): Remove variable.
+ (rs6000_info_powerpc_command): Remove function.
+
2005-10-21 Andreas Schwab <schwab@suse.de>
* dwarf2read.c (isreg): Removed.
Index: rs6000-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/rs6000-tdep.c,v
retrieving revision 1.246
diff -u -p -r1.246 rs6000-tdep.c
--- rs6000-tdep.c 14 Oct 2005 20:17:11 -0000 1.246
+++ rs6000-tdep.c 22 Oct 2005 15:11:08 -0000
@@ -3420,14 +3420,6 @@ rs6000_dump_tdep (struct gdbarch *curren
/* FIXME: Dump gdbarch_tdep. */
}
-static struct cmd_list_element *info_powerpc_cmdlist = NULL;
-
-static void
-rs6000_info_powerpc_command (char *args, int from_tty)
-{
- help_list (info_powerpc_cmdlist, "info powerpc ", class_info, gdb_stdout);
-}
-
/* Initialization code. */
extern initialize_file_ftype _initialize_rs6000_tdep; /* -Wmissing-prototypes */