summaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2010-05-06 19:41:09 +0000
committerMichael Snyder <msnyder@specifix.com>2010-05-06 19:41:09 +0000
commitf4ea9d058c84fb949e9c061ee444eb20de0ffce2 (patch)
tree3cb22c41103524781ddda4207f45d5a39903063e /gdb/gdbarch.c
parent2a57de41aa57946e997b20f907b766f0bdfdb0a7 (diff)
downloadgdb-f4ea9d058c84fb949e9c061ee444eb20de0ffce2.tar.gz
2010-05-06 Michael Snyder <msnyder@vmware.com>
* macrocmd.c (_initialize_macrocmd): Delete unused variable. * macroexp.c (gather_arguments): Delete unused variable. (substitute_args): Delete unused variable. * completer.c (gdb_completer_loc_break_characters): Unused, delete. * gdbarch.sh (gdbarch_printable_names): Delete unused variable. (_initialize_gdbarch): Delete unused variable. * gdbarch.c, gdbarch.h: Regenerate. * arch-utils.c (initialize_current_architecture): Delete unused variable. (_initialize_gdbarch_utils): Delete unused variable. * gdbtypes.c (make_cv_type): Delete unused variable. (make_type_with_address_space): Delete unused variable.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r--gdb/gdbarch.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index fa08fe02c40..3b6f614ca6b 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -3849,7 +3849,6 @@ gdbarch_printable_names (void)
{
/* Accumulate a list of names based on the registed list of
architectures. */
- enum bfd_architecture a;
int nr_arches = 0;
const char **arches = NULL;
struct gdbarch_registration *rego;
@@ -4084,8 +4083,6 @@ extern void _initialize_gdbarch (void);
void
_initialize_gdbarch (void)
{
- struct cmd_list_element *c;
-
add_setshow_zinteger_cmd ("arch", class_maintenance, &gdbarch_debug, _("\
Set architecture debugging."), _("\
Show architecture debugging."), _("\