aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-05-06revert erroneous commitNathan Sidwell2-5/+1
2010-05-06 * cpu-mips.c (arch_info_struct): Fixup XLR entry.Nathan Sidwell2-1/+5
2010-05-062010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder5-28/+21
* psymtab.c (lookup_partial_symbol): Delete unused variable. (find_last_source_symtab_from_partial): Delete unused variable. * symfile.c (place_section): Delete unused variable. (default_symfile_offsets): Delete unused variable. (get_debug_link_info): Delete unused variable. (find_separate_debug_file_by_debuglink): Delete unused variable. (add_symbol_file_command): Delete unused variable. (symfile_find_segment_sections): Delete unused variable. * symmisc.c (free_symtab): Delete unused variable. (dump_symtab_1): Delete unused variable. * symtab.c (lookup_symbil_aux_quick): Delete unused variable. (find_pc_sect_symtab): Delete unused variable. (skip_prologue_using_lineinfo): Delete unused variable. (sources_info): Delete unused variable. (completion_list_add_name): Delete unused variable. (expand_line_sal): Delete unused variable.
2010-05-062010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder2-31/+26
* breakpoint.c (validate_commands_for_breakpoint): Delete unused variables. (insert_catchpoint): Delete unused variable. (update_watchpoint): Delete unused variable. (insert_bp_location): Delete unused variable. (insert_breakpoint_locations): Delete unused variable. (remove_breakpoint_1): Delete unused variable. (software_breakpoint_inserted_here_p): Delete unused variable. (watchpoints_triggered): Delete unused variable. (bpstat_check_watchpoint): Delete unused variable. (bpstat_stop_status): Delete unused variable. (print_one_breakpoint_location): Delete unused variable. (allocate_bp_location): Delete unused variable. (create_breakpoint): Delete unused variable. (watch_command_1): Delete unused variable. (catch_exception_command_1): Delete unused variable. (catch_ada_exception_command): Delete unused variable. (delete_breakpoint): Delete unused variable. (breakpoint_re_set_one): Delete unused variable. (do_enable_breakpoint): Delete unused variable.
2010-05-062010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder8-29/+9
* mi/mi-out.c (mi_table_begin): Delete unused variable. * mi/mi-cmd-var.c (print_varobj): Delete unused variable. (mi_cmd_var_list_children): Delete unused variable. (varobj_update_one): Delete unused variable. * mi/mi-cmd-break.c (mi_cmd_break_insert): Delete unused variables. * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Delete unused variable. (mi_cmd_stack_list_variables): Delete unused variable. (list_args_or_locals): Delete unused variable. * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Delete unused variables. (mi_cmd_file_list_exec_source_files): Delete unused variable. * mi/mi-cmd-target.c (mi_cmd_target_file_delete): Delete unused variable. * mi/mi-interp.c (mi_interpreter_exec): Delete unused variable. (mi_cmd_interpreter_exec): Delete unused variable. (mi_on_normal_stop): Delete unused variable. * mi/mi-main.c (run_one_inferior): Delete unused variable. (print_one_inferior): Delete unused variables. (mi_execute_command): Delete unused variable. (mi_cmd_execute): Delete unused variable. (timestamp): Delete unused variable.
2010-05-062010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder2-21/+10
* ax-gdb.c (gen_struct_elt_for_reference): Delete unused variables. * tracepoint.c (delete_trace_variable_command): Delete unused variables. (encode_actions_1): Delete unused variables. (start_tracing): Delete unused variable. (trace_status_mi): Delete unused variable. (tfind_1): Delete unused variable. (trace_find_pc_command): Delete unused variable. (trace_find_line_command): Delete unused variables. (trace_find_range_command): Delete unused variables. (trace_find_outside_command): Delete unused variables. (parse_tracepoint_definition): Delete unused variables. (tfile_fetch_registers): Delete unused variable.
2010-05-06 * amd64-tdep.c: Include disasm.h.Pedro Alves4-53/+103
(amd64_insn_length_fprintf, amd64_insn_length_init_dis) (amd64_insn_length): Moved to disasm.c and renamed. (fixup_riprel): Adjust. * disasm.c (do_ui_file_delete): New. (gdb_insn_length): New. (gdb_buffered_insn_length_fprintf) (gdb_buffered_insn_length_init_dis) (gdb_buffered_insn_length): New, moved from amd64-tdep.c, and renamed. * disasm.h (gdb_insn_length): Declare. (gdb_buffered_insn_length): Declare.
2010-05-06 * remote.c (clear_threads_parsing_context): New.Pedro Alves2-4/+30
(remote_threads_info): Delete unused null_cleanup. Install a cleanup to clear the threads_parsing_context in case parsing throws.
2010-05-062010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder6-8/+13
* c-exp.y (parse_string_or_char): Delete unused variable. (c_lex): Delete unused variable. * cp-name-parser.y (cpname_lex): Delete unused variable. * ada-exp.y (find_primitive_type): Delete unused variable. (write_var_or_type): Delete unused variable. * jv-exp.y (java_parse): Delete unused variable. (push_expression_name): Delete unused variable. * p-exp.y (pascal_lex): Delete unused variable.
2010-05-06*** empty log message ***gdbadmin1-1/+1
2010-05-06daily updateAlan Modra1-1/+1
2010-05-052010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder6-43/+37
* elfread.c (elf_symtab_read): Delete unused variable. (find_separate_debug_file_by_buildid): Delete unused variables. (elf_symfile_read): Delete unused variable. * coffread.c (coff_symfile_read): Delete unused variables. * coff-pe-read.c (add_pe_exported_sym): Delete unused variable. (read_pe_exported_syms): Delete unused variable. * stabsread.c (define_symbol): Delete unused variable. * dwarf2read.c (read_type_comp_unit_head): Delete unused variable. (process_psymtab_comp_unit): Delete unused variable. (dwarf2_build_psymtabs_hard): Delete unused variable. (load_partial_comp_unit): Delete unused variable. (create_all_comp_units): Delete unused variable. (scan_partial_symbols): Delete unused variable. (add_partial_symbol): Delete unused variable. (add_partial_namespace): Delete unused variable. (add_partial_enumeration): Delete unused variable. (load_full_comp_unit): Delete unused variable. (process_full_comp_unit): Delete unused variable. (read_file_scope): Delete unused variable. (read_type_unit_scope): Delete unused variable. (process_structure_scope): Delete unused variable. (process_enumeration_scope): Delete unused variable. (read_tag_ptr_to_member_type): Delete unused variable. (read_typedef): Delete unused variable. (read_partial_die): Delete unused variable. (decode_locdesc): Delete unused variable. (zeroed_partial_die): Delete unused global variable.
2010-05-05 * remote.c (remote_threads_info): Really revert previous previousPedro Alves2-1/+6
change.
2010-05-052010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder5-8/+15
* tui/tui-interp.c (_initialize_tui_interp): Delete unused variable. * tui/tui-regs.c tui_display_registers_from): Delete unused variable. (tui_check_register_values): Delete unused variable. (tui_register_format): Delete unused variable. * tui/tui-win.c (_initialize_tui_win): Delete unused variable. * tui/tui-windata.c (tui_display_data_from_line): Delete unused variables. (tui_vertical_data_scroll): Delete unused variables.
2010-05-052010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder2-5/+33
* remote.c (remote_threads_info): Revert questionable part of the previous change.
2010-05-052010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder5-10/+26
* cli-dump.c (dump_memory_to_file): Delete unused variable. (restore_binary_file): Delete unused variable. * cli-decode.c (deprecated_cmd_warning): Delete unused variables. * cli-script.c (define_command): Delete unused variables. (recurse_read_control_structure): Delete unused variable. (script_from_file): Delete unused variable. * cli-cmds.c (complete_command): Delete unused variable. (disassemble_command): Delete unused variable.
2010-05-052010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder2-3/+5
* dcache.c (dcache_init): Delete unused variable. (dcache_info): Delete unused variable.
2010-05-052010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder2-4/+6
* remote.c (remote_threads_info): Delete unused variable. (process_stop_reply): Delete unused variable. (remote_get_trace_status): Delete unused variables.
2010-05-052010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder3-14/+10
* linux-thread-db.c (add_thread_db_info): Delete unused variable. (thread_from_lwp): Delete unused variable. (enable_thread_event_reporting): Delete unused variable. (check_for_thread_db): Delete unused variables. (thread_db_find_new_threads_2): Delete unused variable. * linux-fork.c (info_checkpoints_command): Delete unused variables. (checkpoint_command): Delete unused variable. (linux_fork_context): Delete unused variables.
2010-05-052010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder2-17/+13
* linux-nat.c (top level): Delete unused global variable. (linux_tracefork_child): Delete unused variable. (linux_child_follow_fork): Delete unused variable. (linux_nat_detach): Delete unused variable. (linux_handle_extended_wait): Delete unused variable. (linux_nat_has_pending_sigint): Delete unused variable. (linux_nat_find_memory_regions): Delete unused variable. (linux_nat_make_corefile_notes): Delete unused variables. (linux_nat_info_proc_cmd): Delete unused variable. (linux_proc_pending_signals): Delete unused variable. (linux_nat_stop_lwp): Delete unused variables. (_initialize_linux_nat): Delete unused variable.
2010-05-052010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+2
* ser-pipe.c (top level): Delete unused global variable.
2010-05-052010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder2-4/+3
* linux-record.c (record_linux_system_call): Delete unused variables.
2010-05-052010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder2-3/+2
* corelow.c (core_xfer_partial): Delete unused variables.
2010-05-052010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+6
* solib-svr4.c (find_program_interpreter): Delete unused variable. (svr4_solib_create_inferior_hook): Add ifdef around conditionally-used variable declarations.
2010-05-052010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder2-8/+6
* solib.c (solib_find): Delete unused variable. (free_so_symbols): Delete unused variable. (info_sharedlibrary_command): Delete unused variable. (reload_shared_libraries_1): Delete unused variable. (_initialize_solib): Delete unused variable.
2010-05-052010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder3-6/+7
* i386-tdep.c (i386_supply_xstateregset) Delete unused variable. (i386_collect_xstateregset): Delete unused variable. * i387-tdep.c (i387_print_float_info): Delete unused variable.
2010-05-05fix edit errorMichael Snyder1-0/+1
2010-05-052010-05-05 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+5
* features/i386/i386-mmx.c (initialize_tdesc_i386_mmx): Delete unused variable 'type'.
2010-05-05Do not set prms_id/bug_id anymore.Joel Brobecker305-656/+13
2010-05-05 Joel Brobecker <brobecker@adacore.com> Remove the use of prms_id and bug_id throughout the testsuite.
2010-05-05Remove unused MAX_OF*/MIN_OF* macros.Joel Brobecker4-31/+6
FWIW: They can no longer work either, as they depend on other macros which have been missing for quite a while. ChangeLog: * gdbtypes.h (MAX_OF_TYPE, MIN_OF_TYPE): Delete macros. * ada-lang.c: Remove comment mentioning these macros. * m2-exp.y: Delete commented out code.
2010-05-05"finish" does not work on sparc if function returns array.Joel Brobecker3-2/+18
ChangeLog: * sparc-tdep.c (sparc_structure_or_union_p): Return non-zero for array types. * sparc64-tdep.c (sparc64_structure_or_union_p): Likewise.
2010-05-05Updated Spanish translations.Nick Clifton14-3080/+3543
2010-05-05 ARI fix: Remove ATTRIBUTE_UNUSED throughout.Pierre Muller4-18/+41
* arm-linux-tdep.c (arm_linux_cleanup_svc): Remove ATTRIBUTE_UNUSED. (cleanup_kernel_helper_return): Likewise. * arm-tdep.c (copy_unmodified): Likewise. (copy_preload): Likewise. (copy_copro_load_store): Likewise. (cleanup_branch): Likewise. (copy_b_bl_blx): Likewise. (copy_bx_blx_reg): Likewise. (copy_alu_imm): Likewise. (copy_alu_reg): Likewise. (copy_alu_shifted_reg): Likewise. (cleanup_load): Likewise. (cleanup_store): Likewise. (cleanup_block_load_pc): Likewise. (cleanup_svc): Likewise. (copy_undef): Likewise. (copy_unpred): Likewise. * remote.c (register_remote_support_xml): Likewise.
2010-05-05 * read.c (cons_worker): Detect and reject unexpected string argument.Nathan Sidwell7-1/+29
testsuite/ * gas/all/byte.s: New. * gas/all/byte.l: New. * gas/all/byte.d: New. * gas/all/gas.exp: Add it.
2010-05-052010-05-05 Hui Zhu <teawater@gmail.com>Hui Zhu2-3/+7
* gdbarch.h (gdbarch_has_dos_based_file_system): Update comment.
2010-05-05*** empty log message ***gdbadmin1-1/+1
2010-05-05daily updateAlan Modra1-1/+1
2010-05-04* remote.c (register_remote_support_xml)Mark Kettenis4-10/+20
(remote_query_supported_append, remote_query_supported): Add cast to NULL used as sentinel. * tracepoint.c (tvariables_info_1): Likewise. * utils.c (add_internal_problem_command): Likewise.
2010-05-04 * write.c (fixup_segment): Revert previous delta.Nick Clifton3-3/+8
* config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the generation of relocations for fixups against weak symbols.
2010-05-04 * gdb/dwarf2loc.c (read_pieced_value, write_pieced_value,Matthew Gretton-Dann2-5/+36
dwarf2_evaluate_loc_desc): Handle not being able to access DWARF registers gracefully.
2010-05-04 * gdb/exec.c (print_section_info): Display entry point without archMatthew Gretton-Dann2-2/+10
specific parts.
2010-05-04 PR exp/11349.Pierre Muller4-1/+18
* printcmd.c (x_command): Only dereference once implicitly for TYPE_CODE_REF. testsuite dir: PR exp/11349. * testsuite/gdb.cp/ref-types.exp: Add test to examine use a reference local variable.
2010-05-04daily updateAlan Modra1-1/+1
2010-05-04*** empty log message ***gdbadmin1-1/+1
2010-05-03 * event-loop.c (gdb_timer): Delete unused global.Doug Evans2-3/+7
(create_timer): Update.
2010-05-03 * event-loop.c (struct callback_event): New struct.Doug Evans4-16/+216
(callback_list): New global. (append_callback_event, delete_callback_event): New functions. (process_callback): New function. (start_event_loop): Call it. * remote-utils.c (NOT_SCHEDULED): Define. (readchar_buf, readchar_bufcnt, readchar_bufp): New static globals, moved out of readchar. (readchar): Rewrite. Call reschedule before returning. (reset_readchar): New function. (remote_close): Call it. (process_remaining, reschedule): New functions. * server.h (callback_handler_func): New typedef. (append_callback_event, delete_callback_event): Declare.
2010-05-03gdb/Jan Kratochvil3-18/+51
* cp-namespace.c (cp_lookup_symbol_imports): Support ALIAS for the CURRENT->DECLARATION case. * cp-support.h (struct using_direct): Provide extended comment.
2010-05-03* hppaobsd-tdep.c (HPPAOBSD_SIZEOF_GREGS): Renamed fromMark Kettenis2-10/+56
HPPABSD_SIZEOF_GREGS. (HPPAOBSD_SIZEOF_FPREGS): New define. (hppaobsd_supply_gregset): Renamed from hppabsd_supply_gregset. (hppaobsd_supply_fpregset): New function. (hppaobsd_gregset): Renamed from hppabsd_gregset. (hppaobsd_fpregset): New variable. (hppaobsd_regset_from_core_section): Handle floating-point registers. (_initialize_hppabsd_tdep): Remove spurious blank line.
2010-05-03 gdb/gdbserver/Pedro Alves6-52/+94
* proc-service.c (ps_pglobal_lookup): Use thread_db_look_up_one_symbol. * remote-utils.c (look_up_one_symbol): Add new `may_ask_gdb' parameter. Use it instead of all_symbols_looked_up. * server.h (struct process_info) <all_symbols_looked_up>: Delete field. (all_symbols_looked_up): Don't declare. (look_up_one_symbol): Add new `may_ask_gdb' parameter. * thread-db.c (struct thread_db) <all_symbols_looked_up>: New field. (thread_db_look_up_symbols): Adjust call to look_up_one_symbol. Set all_symbols_looked_up here. (thread_db_look_up_one_symbol): New. (thread_db_get_tls_address): Adjust. (thread_db_load_search, try_thread_db_load_1): Always allocate the thread_db object on the heap, and tentatively set it in the process structure. (thread_db_init): Don't set all_symbols_looked_up here. * linux-low.h (thread_db_look_up_one_symbol): Declare.
2010-05-03bfd/Tristan Gingold3-13/+31
2010-05-03 Tristan Gingold <gingold@adacore.com> * vms-lib.c (vms_lib_bopen): Fix the size threshold to read selective_search flag. Add comments. * vms-alpha.c (alpha_vms_bfd_final_link): Create the DMT section before output_has_begun is set.