aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-06 19:41:12 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-06 19:41:12 +0000
commit308d96edc1e82c7bb9440d20b868ee9dd93959ea (patch)
tree2a8625181c18ed97c984a83b9e200e6856e840f3 /gdb/gdbarch.c
parent167e43849e8c76e720617fbb17897861ee1f2be0 (diff)
downloadbinutils-308d96edc1e82c7bb9440d20b868ee9dd93959ea.zip
binutils-308d96edc1e82c7bb9440d20b868ee9dd93959ea.tar.gz
binutils-308d96edc1e82c7bb9440d20b868ee9dd93959ea.tar.bz2
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 fa08fe0..3b6f614 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."), _("\