diff options
Diffstat (limited to 'gdb/compile')
-rw-r--r-- | gdb/compile/compile-loc2c.c | 1 | ||||
-rw-r--r-- | gdb/compile/compile-object-load.c | 4 | ||||
-rw-r--r-- | gdb/compile/compile-object-run.c | 2 | ||||
-rw-r--r-- | gdb/compile/compile.c | 1 |
4 files changed, 1 insertions, 7 deletions
diff --git a/gdb/compile/compile-loc2c.c b/gdb/compile/compile-loc2c.c index ca26f13..2a340e8 100644 --- a/gdb/compile/compile-loc2c.c +++ b/gdb/compile/compile-loc2c.c @@ -389,7 +389,6 @@ compute_stack_depth (enum bfd_endian byte_order, unsigned int addr_size, int initial_depth, std::vector<struct insn_info> *info) { - unsigned char *set; std::vector<int> to_do; int stack_depth, i; diff --git a/gdb/compile/compile-object-load.c b/gdb/compile/compile-object-load.c index e69fbc6..f1c8ccd 100644 --- a/gdb/compile/compile-object-load.c +++ b/gdb/compile/compile-object-load.c @@ -608,15 +608,13 @@ compile_object_load (const compile_file_names &file_names, { struct cleanup *cleanups; struct setup_sections_data setup_sections_data; - CORE_ADDR addr, regs_addr, out_value_addr = 0; + CORE_ADDR regs_addr, out_value_addr = 0; struct symbol *func_sym; struct type *func_type; struct bound_minimal_symbol bmsym; long storage_needed; asymbol **symbol_table, **symp; long number_of_symbols, missing_symbols; - struct type *dptr_type = builtin_type (target_gdbarch ())->builtin_data_ptr; - unsigned dptr_type_len = TYPE_LENGTH (dptr_type); struct compile_module *retval; struct type *regs_type, *out_value_type = NULL; char **matching; diff --git a/gdb/compile/compile-object-run.c b/gdb/compile/compile-object-run.c index 9c36779..6580f39 100644 --- a/gdb/compile/compile-object-run.c +++ b/gdb/compile/compile-object-run.c @@ -116,8 +116,6 @@ void compile_object_run (struct compile_module *module) { struct value *func_val; - struct frame_id dummy_id; - struct cleanup *cleanups; struct do_module_cleanup *data; const char *objfile_name_s = objfile_name (module->objfile); int dtor_found, executed = 0; diff --git a/gdb/compile/compile.c b/gdb/compile/compile.c index 9de244a..c47d7d2 100644 --- a/gdb/compile/compile.c +++ b/gdb/compile/compile.c @@ -462,7 +462,6 @@ compile_to_object (struct command_line *cmd, const char *cmd_string, int argc; char **argv; int ok; - FILE *src; struct gdbarch *gdbarch = get_current_arch (); char *triplet_rx; char *error_message; |