aboutsummaryrefslogtreecommitdiff
path: root/gdb/target-descriptions.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-07 02:09:55 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-07 02:09:55 +0000
commitc6913b7d1e1863c208fb6495b227ef5ea119243e (patch)
treefd0dce52b205e9792e3f8c6965befd9e6b8ef863 /gdb/target-descriptions.c
parent1c5465ac6061382a64975cbe2e619054bfc71c45 (diff)
downloadgdb-c6913b7d1e1863c208fb6495b227ef5ea119243e.zip
gdb-c6913b7d1e1863c208fb6495b227ef5ea119243e.tar.gz
gdb-c6913b7d1e1863c208fb6495b227ef5ea119243e.tar.bz2
2010-05-06 Michael Snyder <msnyder@vmware.com>
* xml-support.c (xinclude_start_include): Delete unused variable. (xml_process_xincludes): Delete unused variable. * xml-syscall.c (syscall_parse_xml): Delete unused variable. * target-descriptions.c (tdesc_gdb_type): Delete unused variable. (tdesc_find_arch_register): Delete unused variable. (tdesc_use_registers): Delete unused variable. * xml-tdesc.c (tdesc_start_target): Delete unused variable. * inferior.c (print_inferior): Delete unused variable. * record.c (record_open_1): Delete unused variable. (record_restore): Delete unused variable. (cmd_record_save): Delete unused variable. * gcore.c (derive_heap_segment): Delete unused variable. (objfile_find_memory_regions): Use unused variable. * jit.c (jit_inferior_init): Delete unused variable. * progspace.c (clone_program_space): Delete unused variable. (pspace_empty_p): Delete unused variable.
Diffstat (limited to 'gdb/target-descriptions.c')
-rw-r--r--gdb/target-descriptions.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/target-descriptions.c b/gdb/target-descriptions.c
index 86adc9d..874730f 100644
--- a/gdb/target-descriptions.c
+++ b/gdb/target-descriptions.c
@@ -702,7 +702,6 @@ tdesc_gdb_type (struct gdbarch *gdbarch, struct tdesc_type *tdesc_type)
case TDESC_TYPE_FLAGS:
{
- struct type *type, *field_type;
struct tdesc_type_flag *f;
int ix;
@@ -852,7 +851,6 @@ tdesc_register_size (const struct tdesc_feature *feature,
static struct tdesc_arch_reg *
tdesc_find_arch_register (struct gdbarch *gdbarch, int regno)
{
- struct tdesc_arch_reg *reg;
struct tdesc_arch_data *data;
data = gdbarch_data (gdbarch, tdesc_data);
@@ -1091,7 +1089,7 @@ tdesc_use_registers (struct gdbarch *gdbarch,
struct tdesc_arch_data *early_data)
{
int num_regs = gdbarch_num_regs (gdbarch);
- int i, ixf, ixr;
+ int ixf, ixr;
struct tdesc_feature *feature;
struct tdesc_reg *reg;
struct tdesc_arch_data *data;