Michael Snyder [Thu, 6 May 2010 23:36:39 +0000 (23:36 +0000)]
2010-05-06 Michael Snyder <msnyder@vmware.com>
* ada-lang.c (add_defn_to_vec): Delete unused variable.
(decode_constrained_packed_array_type): Delete unused variable.
(add_defn_to_vec): Delete unused variable.
(symbol_completion_match): Delete unused variable.
(value_tag_from_contents_and_address): Delete unused variable.
(ada_evaluate_subexp): Delete unused variable.
* c-lang.c (classify_type): Delete unused variable.
* f-lang.c (f_printstr): Delete unused variable.
* objc-lang.c (objc_printstr): Delete unused variable.
* ada-tasks.c (get_known_tasks_addr): Delete unused variable.
* jv-lang.c (type_from_class): ifdef unused variable.
(java_class_name_from_physname): Delete unused variable.
* m2-lang.c (m2_printstr): Delete unused variable.
Michael Snyder [Thu, 6 May 2010 22:50:09 +0000 (22:50 +0000)]
2010-05-06 Michael Snyder <msnyder@vmware.com>
* objfiles.c (objfile_relocate): Delete unused variable.
* maint.c (_initialize_maint_cmds): Delete unused variable.
* demangle.c (_initialize_demangler): Delete unused variable.
* corefile.c (reopen_exec_file): Delete unused variable.
* dwarf2expr.c (dwarf2_read_address): Delete unused variable.
* dwarf2-frame.c (decode_frame_entry): Delete unused variable.
Michael Snyder [Thu, 6 May 2010 22:29:49 +0000 (22:29 +0000)]
2010-05-06 Michael Snyder <msnyder@vmware.com>
* osabi.c (_initialize_gdb_osabi): Delete unused variable.
* memattr.c (mem_delete): Delete unused variable.
(invalidate_target_mem_regions): Delete unused variable.
* mem-break.c (default_memory_insert_breakpoint):
Delete unused variable.
* target.c (target_get_osdata): Delete unused variable.
* parse.c (length_of_subexp): Delete unused variable.
(prefixify_subexp): Delete unused variable.
(exp_iterate): Delete unused variable.
* reverse.c (delete_bookmark_command): Delete unused variable.
DJ Delorie [Thu, 6 May 2010 21:40:04 +0000 (21:40 +0000)]
merge from gcc
H.J. Lu [Thu, 6 May 2010 21:32:04 +0000 (21:32 +0000)]
Handle EM_L1OM.
2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
* dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
* readelf.c (get_elf_section_flags): Likewise.
(process_section_headers): Likewise.
Joseph Myers [Thu, 6 May 2010 20:04:27 +0000 (20:04 +0000)]
* ld-elf/orphan-region.d: Use ld -N.
Michael Snyder [Thu, 6 May 2010 19:41:12 +0000 (19:41 +0000)]
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.
Michael Snyder [Thu, 6 May 2010 19:14:09 +0000 (19:14 +0000)]
2010-05-06 Michael Snyder <msnyder@vmware.com>
* linespec.c (decode_compound): Delete unused variable.
* dictionary.c (iterator_next_hashed): Delete unused variable.
* infcall.c (call_function_by_hand): Delete unused variable.
* infcmd.c (step_1): Delete unused variable.
(registers_info): Delete unused variable.
(attach_command): Delete unused variable.
* infrun.c (follow_exec): Delete unused variable.
(handle_step_into_function_backwards): Delete unused variable.
(_initialize_infrun): Delete unused variable.
* stack.c (parse_frame_specification_1): Delete unused variable.
(frame_info): Delete unused variable.
(backtrace_command_1): Delete unused variable.
(catch_info): Delete unused variable.
Michael Snyder [Thu, 6 May 2010 18:26:13 +0000 (18:26 +0000)]
2010-05-06 Michael Snyder <msnyder@vmware.com>
* eval.c (evaluate_subexp_standard): Delete unused variable.
* valops.c (value_cast_pointers): Delete unused variable.
(value_dynamic_cast): Delete unused variable.
(value_array): Delete unused variable.
(find_overload_match): Delete unused variable.
* valarith.c (value_subscript): Delete unused variable.
(value_binop): Delete unused variable.
* valprint.c (_initialize_valprint): Delete unused variable.
* printcmd.c (print_command_1): Delete unused variable.
(address_info): Delete unused variable.
(printf_command): Delete unused variable.
Michael Snyder [Thu, 6 May 2010 18:07:08 +0000 (18:07 +0000)]
2010-05-06 Michael Snyder <msnyder@vmware.com>
* auxv.c (target_auxv_search): Delete unused variable.
* blockframe.c (get_frame_block): Delete unused variable.
* regcache.c (regcache_cpy): Delete unused variable.
(regcache_cpy_no_passthrough): Delete unused variable.
* charset.c (wchar_iterate): Delete unused variable.
(find_charset_names): Delete unused variable.
(_initialize_charset): Delete unused variable.
* disasm.c (do_mixed_source_and_assembly):
Delete unused variable.
* source.c (set_default_source_symtab_and_line):
Delete unused variable.
(set_substitute_path_command): Delete unused variable.
* value.c (preserve_values): Delete unused variable.
(value_from_double): Delete unused variable.
Nathan Sidwell [Thu, 6 May 2010 15:02:24 +0000 (15:02 +0000)]
revert erroneous commit
Nathan Sidwell [Thu, 6 May 2010 10:22:51 +0000 (10:22 +0000)]
* cpu-mips.c (arch_info_struct): Fixup XLR entry.
Michael Snyder [Thu, 6 May 2010 01:16:15 +0000 (01:16 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* 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.
Michael Snyder [Thu, 6 May 2010 00:41:41 +0000 (00:41 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* 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.
Michael Snyder [Thu, 6 May 2010 00:32:38 +0000 (00:32 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* 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.
Michael Snyder [Thu, 6 May 2010 00:31:46 +0000 (00:31 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* 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.
Pedro Alves [Thu, 6 May 2010 00:21:53 +0000 (00:21 +0000)]
* amd64-tdep.c: Include disasm.h.
(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.
Pedro Alves [Thu, 6 May 2010 00:15:29 +0000 (00:15 +0000)]
* remote.c (clear_threads_parsing_context): New.
(remote_threads_info): Delete unused null_cleanup. Install a
cleanup to clear the threads_parsing_context in case parsing
throws.
Michael Snyder [Thu, 6 May 2010 00:08:44 +0000 (00:08 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* 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.
gdbadmin [Thu, 6 May 2010 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 6 May 2010 00:00:06 +0000 (00:00 +0000)]
daily update
Michael Snyder [Wed, 5 May 2010 23:44:19 +0000 (23:44 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* 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.
Pedro Alves [Wed, 5 May 2010 23:39:56 +0000 (23:39 +0000)]
* remote.c (remote_threads_info): Really revert previous previous
change.
Michael Snyder [Wed, 5 May 2010 22:53:54 +0000 (22:53 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* 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.
Michael Snyder [Wed, 5 May 2010 22:27:15 +0000 (22:27 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* remote.c (remote_threads_info): Revert questionable part of
the previous change.
Michael Snyder [Wed, 5 May 2010 21:32:56 +0000 (21:32 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* 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.
Michael Snyder [Wed, 5 May 2010 20:50:24 +0000 (20:50 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* dcache.c (dcache_init): Delete unused variable.
(dcache_info): Delete unused variable.
Michael Snyder [Wed, 5 May 2010 20:46:06 +0000 (20:46 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* remote.c (remote_threads_info): Delete unused variable.
(process_stop_reply): Delete unused variable.
(remote_get_trace_status): Delete unused variables.
Michael Snyder [Wed, 5 May 2010 20:37:23 +0000 (20:37 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* 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.
Michael Snyder [Wed, 5 May 2010 20:16:45 +0000 (20:16 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* 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.
Michael Snyder [Wed, 5 May 2010 20:01:34 +0000 (20:01 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* ser-pipe.c (top level): Delete unused global variable.
Michael Snyder [Wed, 5 May 2010 19:58:12 +0000 (19:58 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* linux-record.c (record_linux_system_call):
Delete unused variables.
Michael Snyder [Wed, 5 May 2010 19:53:54 +0000 (19:53 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* corelow.c (core_xfer_partial): Delete unused variables.
Michael Snyder [Wed, 5 May 2010 19:50:10 +0000 (19:50 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* solib-svr4.c (find_program_interpreter): Delete unused variable.
(svr4_solib_create_inferior_hook): Add ifdef around
conditionally-used variable declarations.
Michael Snyder [Wed, 5 May 2010 19:37:45 +0000 (19:37 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* 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.
Michael Snyder [Wed, 5 May 2010 19:30:36 +0000 (19:30 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* 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.
Michael Snyder [Wed, 5 May 2010 19:05:24 +0000 (19:05 +0000)]
fix edit error
Michael Snyder [Wed, 5 May 2010 18:56:12 +0000 (18:56 +0000)]
2010-05-05 Michael Snyder <msnyder@vmware.com>
* features/i386/i386-mmx.c (initialize_tdesc_i386_mmx):
Delete unused variable 'type'.
Joel Brobecker [Wed, 5 May 2010 18:07:04 +0000 (18:07 +0000)]
Do not set prms_id/bug_id anymore.
2010-05-05 Joel Brobecker <brobecker@adacore.com>
Remove the use of prms_id and bug_id throughout the testsuite.
Joel Brobecker [Wed, 5 May 2010 17:07:40 +0000 (17:07 +0000)]
Remove unused MAX_OF*/MIN_OF* macros.
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.
Joel Brobecker [Wed, 5 May 2010 16:59:00 +0000 (16:59 +0000)]
"finish" does not work on sparc if function returns array.
ChangeLog:
* sparc-tdep.c (sparc_structure_or_union_p): Return non-zero
for array types.
* sparc64-tdep.c (sparc64_structure_or_union_p): Likewise.
Nick Clifton [Wed, 5 May 2010 15:28:26 +0000 (15:28 +0000)]
Updated Spanish translations.
Pierre Muller [Wed, 5 May 2010 15:05:57 +0000 (15:05 +0000)]
ARI fix: Remove ATTRIBUTE_UNUSED throughout.
* 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.
Nathan Sidwell [Wed, 5 May 2010 14:17:50 +0000 (14:17 +0000)]
* read.c (cons_worker): Detect and reject unexpected string argument.
testsuite/
* gas/all/byte.s: New.
* gas/all/byte.l: New.
* gas/all/byte.d: New.
* gas/all/gas.exp: Add it.
Hui Zhu [Wed, 5 May 2010 09:20:20 +0000 (09:20 +0000)]
2010-05-05 Hui Zhu <teawater@gmail.com>
* gdbarch.h (gdbarch_has_dos_based_file_system): Update comment.
gdbadmin [Wed, 5 May 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 5 May 2010 00:00:04 +0000 (00:00 +0000)]
daily update
Mark Kettenis [Tue, 4 May 2010 21:09:25 +0000 (21:09 +0000)]
* remote.c (register_remote_support_xml)
(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.
Nick Clifton [Tue, 4 May 2010 16:21:07 +0000 (16:21 +0000)]
* write.c (fixup_segment): Revert previous delta.
* config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
generation of relocations for fixups against weak symbols.
Matthew Gretton-Dann [Tue, 4 May 2010 09:54:18 +0000 (09:54 +0000)]
* gdb/dwarf2loc.c (read_pieced_value, write_pieced_value,
dwarf2_evaluate_loc_desc): Handle not being able to access DWARF
registers gracefully.
Matthew Gretton-Dann [Tue, 4 May 2010 08:47:13 +0000 (08:47 +0000)]
* gdb/exec.c (print_section_info): Display entry point without arch
specific parts.
Pierre Muller [Tue, 4 May 2010 06:48:27 +0000 (06:48 +0000)]
PR exp/11349.
* 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.
Alan Modra [Tue, 4 May 2010 01:45:00 +0000 (01:45 +0000)]
daily update
gdbadmin [Tue, 4 May 2010 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Doug Evans [Mon, 3 May 2010 20:58:21 +0000 (20:58 +0000)]
* event-loop.c (gdb_timer): Delete unused global.
(create_timer): Update.
Doug Evans [Mon, 3 May 2010 20:53:21 +0000 (20:53 +0000)]
* event-loop.c (struct callback_event): New struct.
(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.
Jan Kratochvil [Mon, 3 May 2010 20:10:22 +0000 (20:10 +0000)]
gdb/
* cp-namespace.c (cp_lookup_symbol_imports): Support ALIAS for the
CURRENT->DECLARATION case.
* cp-support.h (struct using_direct): Provide extended comment.
Mark Kettenis [Mon, 3 May 2010 19:59:13 +0000 (19:59 +0000)]
* hppaobsd-tdep.c (HPPAOBSD_SIZEOF_GREGS): Renamed from
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.
Pedro Alves [Mon, 3 May 2010 18:13:36 +0000 (18:13 +0000)]
gdb/gdbserver/
* 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.
Tristan Gingold [Mon, 3 May 2010 16:04:32 +0000 (16:04 +0000)]
bfd/
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.
Pierre Muller [Mon, 3 May 2010 13:38:27 +0000 (13:38 +0000)]
PR pascal/11349.
* p-valprint.c (pascal_value_print): Always dereference a value with
type code TYPE_CODE_REF.
Tristan Gingold [Mon, 3 May 2010 12:16:46 +0000 (12:16 +0000)]
bfd/
2010-05-03 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c: Add comments.
(struct vms_private_data_struct): Remove image_autoextend field.
(dst_check_allocation): Removed.
(image_write): Remove call to dst_check_allocation.
(vms_slurp_debug): Do not set image_autoextend. Adjust section
size.
(_bfd_vms_slurp_object_records): Remove useless new_type variable.
(alpha_vms_write_exec): Use dst_section to get the dst section.
Write the dmt section.
(evax_bfd_print_image): Also print the dst size in hexa. Fix typo.
(alpha_vms_read_sections_content): Do not set image_autoextend.
include/vms/
2010-05-03 Tristan Gingold <gingold@adacore.com>
* dmt.h: Improve comments.
Tristan Gingold [Mon, 3 May 2010 10:23:33 +0000 (10:23 +0000)]
bfd/
2010-05-03 Tristan Gingold <gingold@adacore.com>
* vms-lib.c (_bfd_vms_lib_archive_p): Adjust for a possible empty
next array.
(vms_lib_dcx): Adjust for the above change.
Pedro Alves [Mon, 3 May 2010 04:02:20 +0000 (04:02 +0000)]
* linux-low.c (linux_kill, linux_detach): Adjust.
(status_pending_p_callback): Remove redundant statement. Check
for !TARGET_WAITIKIND_IGNORE, instead of
TARGET_WAITKIND_STOPPED.
(handle_tracepoints): Make sure LWP is locked. Adjust.
(linux_wait_for_event_1): Adjust.
(linux_cancel_breakpoints): New.
(unsuspend_one_lwp): New.
(unsuspend_all_lwps): New.
(linux_wait_1): If finishing a step-over, unsuspend all lwps.
(send_sigstop_callback): Change return type to int, add new
`except' parameter and handle it.
(suspend_and_send_sigstop_callback): New.
(stop_all_lwps): Add new `suspend' and `expect' parameters, and
pass them down. If SUSPEND, also increment the lwp's suspend
count.
(linux_resume_one_lwp): Add notice about resuming a suspended LWP.
(need_step_over_p): Don't consider suspended LWPs.
(start_step_over): Adjust.
(proceed_one_lwp): Change return type to int, add new `except'
parameter and handle it.
(unsuspend_and_proceed_one_lwp): New.
(proceed_all_lwps): Use find_inferior instead of
for_each_inferior.
(unstop_all_lwps): Add `unsuspend' parameter. If UNSUSPEND, them
also decrement the suspend count of LWPs. Pass `except' down,
instead of hacking its suspend count.
(linux_pause_all): Add `freeze' parameter. Adjust.
(linux_unpause_all): New.
(linux_target_ops): Install linux_unpause_all.
* server.c (handle_status): Adjust.
* target.h (struct target_ops): New fields `unpause_all' and
`cancel_breakpoints'. Add new parameter to `pause_all'.
(pause_all): Add new `freeze' parameter.
(unpause_all): New.
(cancel_breakpoints): New.
* tracepoint.c (clear_installed_tracepoints): Pause threads, and
cancel breakpoints.
(cmd_qtstart): Pause threads.
(stop_tracing): Pause threads, and cancel breakpoints.
* win32-low.c (win32_target_ops): Adjust.
Pedro Alves [Mon, 3 May 2010 03:04:30 +0000 (03:04 +0000)]
* linux-low.c (linux_wait_for_event_1): Move passing the signal to
the inferior right away from here...
(linux_wait_1): ... to here, and adjust to check the thread's
last_resume_kind instead of the lwp's step or stop_expected flags.
Pedro Alves [Mon, 3 May 2010 02:13:01 +0000 (02:13 +0000)]
* remote.c (remote_notice_signals): New.
(remote_start_remote): In non-stop mode, update the remote end on
which signals it can silently pass.
(init_remote_ops): Install remote_notice_signals.
Alan Modra [Mon, 3 May 2010 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 3 May 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Jan Kratochvil [Sun, 2 May 2010 23:52:14 +0000 (23:52 +0000)]
gdb/
* cli/cli-cmds.h (error_no_arg): Remove. Move the comment ...
* command.h (error_no_arg): ... here. Remove NORETURN, change
ATTR_NORETURN to ATTRIBUTE_NORETURN.
* defs.h (NORETURN, ATTR_NORETURN): Remove.
(perror_with_name, verror, error, error_stream, vfatal, fatal)
(internal_verror, internal_error, nomem): Remove NORETURN, change
ATTR_NORETURN to ATTRIBUTE_NORETURN.
* exceptions.c (throw_exception, deprecated_throw_reason, throw_verror)
(throw_vfatal, throw_error): Remove NORETURN.
(throw_it): Remove NORETURN, change ATTR_NORETURN to ATTRIBUTE_NORETURN.
* exceptions.h (throw_exception, throw_verror, throw_vfatal)
(throw_error, deprecated_throw_reason): Remove NORETURN, change
ATTR_NORETURN to ATTRIBUTE_NORETURN.
* linespec.c (cplusplus_error): Remove NORETURN, change ATTR_NORETURN
to ATTRIBUTE_NORETURN for prototype, for the definition only remove
NORETURN.
* remote-mips.c (mips_error): Change NORETURN to ATTRIBUTE_NORETURN.
* remote-sim.c (gdb_os_error): Change ATTR_NORETURN to
ATTRIBUTE_NORETURN.
* target.c (tcomplain): Likewise.
* target.h (noprocess): Remove NORETURN, change ATTR_NORETURN to
ATTRIBUTE_NORETURN.
* utils.c (verror, error, vfatal, fatal, error_stream, internal_verror)
(internal_error, perror_with_name, nomem): Remove NORETURN.
* xml-support.h (gdb_xml_error): Change ATTR_NORETURN to
ATTRIBUTE_NORETURN.
gdb/doc/
* gdbint.texinfo (Host Definition): Remove items NORETURN and
ATTR_NORETURN.
Jan Kratochvil [Sun, 2 May 2010 21:14:59 +0000 (21:14 +0000)]
gdb/
* ada-lang.c (lim_warning): Change ATTR_FORMAT to ATTRIBUTE_PRINTF.
* amd64-tdep.c (amd64_insn_length_fprintf): Likewise.
* cli-out.c (cli_field_fmt): New ATTRIBUTE_PRINTF.
(cli_message, out_field_fmt): Change ATTR_FORMAT to ATTRIBUTE_PRINTF.
* complaints.c (find_complaint): New ATTRIBUTE_PRINTF.
(vcomplaint): Change ATTR_FORMAT to ATTRIBUTE_PRINTF.
* complaints.h (complaint, internal_complaint): Likewise.
* defs.h: Change ATTR_FORMAT to ATTRIBUTE_PRINTF in the top comment.
(ATTR_FORMAT): Remove.
(query, nquery, yquery, vprintf_filtered, vfprintf_filtered)
(fprintf_filtered, fprintfi_filtered, printf_filtered, printfi_filtered)
(vprintf_unfiltered, vfprintf_unfiltered, fprintf_unfiltered)
(printf_unfiltered, xasprintf, xvasprintf, xstrprintf, xstrvprintf)
(xsnprintf, verror, error, vfatal, fatal, internal_verror)
(internal_error, internal_vwarning, internal_warning, warning)
(vwarning): Change ATTR_FORMAT to ATTRIBUTE_PRINTF.
* disasm.c (fprintf_disasm): Likewise.
* exceptions.c (throw_it): Likewise.
* exceptions.h (exception_fprintf, throw_verror, throw_vfatal)
(throw_error): Likewise.
* language.h (type_error, range_error): Likewise.
* linespec.c (cplusplus_error): Likewise.
* mi/mi-interp.c (mi_interp_query_hook): Likewise.
* mi/mi-out.c (mi_field_fmt, mi_message): Likewise.
* monitor.c (monitor_debug): Likewise.
* parser-defs.h (parser_fprintf): Likewise.
* serial.h (serial_printf): Likewise.
* tui/tui-hooks.c (tui_query_hook): Likewise.
* ui-out.c (default_field_fmt, default_message, uo_field_fmt)
(uo_message): Likewise.
* ui-out.h (ui_out_field_fmt, ui_out_message): Likewise.
* utils.c (vfprintf_maybe_filtered, internal_vproblem, defaulted_query):
Likewise.
* xml-support.h (gdb_xml_debug, gdb_xml_error): Likewise.
Pedro Alves [Sun, 2 May 2010 16:50:02 +0000 (16:50 +0000)]
* cli-out.c (cli_table_begin, cli_table_body, cli_table_end)
(cli_table_header, cli_begin, cli_end, cli_field_int)
(cli_field_skip, cli_field_string, cli_field_fmt, cli_spaces)
(cli_text, cli_message, cli_wrap_hint, cli_flush, cli_redirect):
Delete forward declarations.
(cli_ui_out_impl): Move below the callbacks.
(_initialize_cli_out): Delete.
Pedro Alves [Sun, 2 May 2010 16:10:03 +0000 (16:10 +0000)]
gdb/
* README: Use consistent `GDB' and `GDBserver' spellings.
gdb/gdbserver/
* README: Use consistent `GDB' and `GDBserver' spellings.
Jan Kratochvil [Sun, 2 May 2010 09:13:35 +0000 (09:13 +0000)]
gdb/
* cli/cli-dump.h (parse_and_eval_with_error): Remove the declaration.
Jan Kratochvil [Sun, 2 May 2010 09:08:59 +0000 (09:08 +0000)]
gdb/testsuite/
* gdb.base/break-interp.exp: Remove $exec.debug safety removal.
* gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
variable different_dir. Move debugfile into a full directory pathname
under DIFFERENT_DIR.
* lib/gdb.exp (separate_debug_filename): Remove.
(gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
variable debug_dir and mkdir of it. Update function comments.
Pedro Alves [Sun, 2 May 2010 00:47:34 +0000 (00:47 +0000)]
* linux-low.c (linux_kill_one_lwp): Assume the lwp is stopped.
(linux_kill): Stop all lwps here. Don't delete the main lwp here.
(linux_detach_one_lwp): Assume the lwp is stopped.
(any_thread_of): Delete.
(linux_detach): Stop all lwps here. Don't blindly delete all
breakpoints.
(delete_lwp_callback): New.
(linux_mourn): Delete all lwps of the process that is gone.
(linux_wait_1): Don't delete the last lwp of the process here.
* mem-break.h (mark_breakpoints_out): Declare.
* mem-break.c (mark_breakpoints_out): New.
(free_all_breakpoints): Use it.
* server.c (handle_target_event): If the process is gone, mark
breakpoints out.
* thread-db.c (struct thread_db) <create_bp>: New field.
(thread_db_enable_reporting): Fix prototype. Store a thread event
breakpoint reference in the thread_db struct.
(thread_db_load_search): Clear the thread_db object.
(try_thread_db_load_1): Ditto.
(switch_to_process): New.
(disable_thread_event_reporting): Use it.
(remove_thread_event_breakpoints): New.
(thread_db_detach, thread_db_mourn): Use it.
gdbadmin [Sun, 2 May 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 2 May 2010 00:00:05 +0000 (00:00 +0000)]
daily update
Pedro Alves [Sat, 1 May 2010 15:56:52 +0000 (15:56 +0000)]
* infrun.c (prepare_for_detach): In non-stop, context switch to
the thread that got the event before handling the event.
Pedro Alves [Sat, 1 May 2010 15:46:26 +0000 (15:46 +0000)]
* linux-low.c (linux_enable_event_reporting): New.
(linux_wait_for_event_1, handle_extended_wait): Use it.
Alan Modra [Sat, 1 May 2010 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 1 May 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Pedro Alves [Fri, 30 Apr 2010 21:36:45 +0000 (21:36 +0000)]
* linux-low.c (linux_kill_one_lwp, linux_kill)
(linux_detach_one_lwp): Adjust to send_sigstop interface change.
(send_sigstop): Take an lwp_info as parameter instead. Queue a
SIGSTOP even if the LWP is stopped.
(send_sigstop_callback): New.
(stop_all_lwps): Use send_sigstop_callback instead.
(linux_resume_one_thread): Adjust.
(proceed_one_lwp): Still proceed an LWP that the client has
requested to stop, if we haven't reported it as stopped yet. Make
sure that LWPs the client want stopped, have a pending SIGSTOP.
H.J. Lu [Fri, 30 Apr 2010 19:30:55 +0000 (19:30 +0000)]
Add a missing `"'.
2010-04-30 H.J. Lu <hongjiu.lu@intel.com>
* binutils-all/dlltool.exp: Add a missing `"'.
H.J. Lu [Fri, 30 Apr 2010 18:27:32 +0000 (18:27 +0000)]
Remove relocation against discarded sections for relocatable link.
bfd/
2010-04-30 H.J. Lu <hongjiu.lu@intel.com>
PR ld/11542
* elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): New.
* elf32-i386.c (elf_i386_relocate_section): Use it.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
ld/testsuite/
2010-04-30 H.J. Lu <hongjiu.lu@intel.com>
PR ld/11542
* ld-elf/discard.ld: New.
* ld-elf/discard1.d: Likewise.
* ld-elf/discard1.s: Likewise.
* ld-elf/discard2.d: Likewise.
* ld-elf/discard2.s: Likewise.
* ld-elf/discard3.d: Likewise.
Tom Tromey [Fri, 30 Apr 2010 17:43:55 +0000 (17:43 +0000)]
* symtab.c (symbol_set_names): Fix typo.
Pierre Muller [Fri, 30 Apr 2010 16:22:42 +0000 (16:22 +0000)]
* python/py-param.c (parm_constants): Avoid ARI warning
by adding ARI comment.
(parmpy_init): Likewise.
Pierre Muller [Fri, 30 Apr 2010 15:38:42 +0000 (15:38 +0000)]
* windows-tdep.c (windows_get_tlb_type): Remember last GDBARCH
and created type for re-use.
Tristan Gingold [Fri, 30 Apr 2010 12:44:51 +0000 (12:44 +0000)]
bfd/
2010-04-30 Tristan Gingold <gingold@adacore.com>
* vms-lib.c (vms_read_block): New function.
(vms_traverse_index): Use vms_read_block. Handle long key names.
include/vms/
2010-04-30 Tristan Gingold <gingold@adacore.com>
* lbr.h (struct vms_kbn): New structure.
Tristan Gingold [Fri, 30 Apr 2010 09:40:42 +0000 (09:40 +0000)]
bfd/
2010-04-30 Tristan Gingold <gingold@adacore.com>
* vms-lib.c (struct lib_tdata): Field artdata added, fields nbr_syms
and syms removed.
(struct carsym_mem): New structure.
(vms_add_index): New function.
(vms_add_indexes_from_list): New function.
(vms_traverse_index): Parameter carsym changed to carsym_mem.
Code adjusted to handle elfidx.
(vms_lib_read_index): Adjusted for vms_traverse_index changes.
Parameter NBREL is now a pointer.
(_bfd_vms_lib_archive_p): Adjust for above change. Handle ia64
archives.
(_bfd_vms_lib_mkarchive): Adjusted for changes in struct lib_tdata.
(_bfd_vms_lib_find_symbol): Ditto.
(vms_lib_bopen): Fix two typos: return FALSE in case of error,
check MHD id.
* vms-alpha.c (alpha_vms_link_add_archive_symbols): Adjust for
changes of _bfd_vms_lib_find_symbol.
include/vms
2010-04-30 Tristan Gingold <gingold@adacore.com>
* lbr.h (LBR__C_TYP_ISHSTB): Added.
(LHD_SANEID4): Renamed to ...
(LHD_SANEID6): ... this.
(LBR_MAJORID, LBR_ELFMAJORID): New macros.
(struct vms_rfa): New structure.
(struct vms_idxdef): Renamed to ...
(struct vms_idx): ... this.
(struct vms_idxdef2): Renamed to ...
(struct vms_elfidx): ... this.
(ELFIDX__WEAK, ELFIDX__GROUP, ELFIDX__LISTRFA, ELFIDX__SYMESC): New
macros.
(struct vms_lhs, struct vms_lns): New structures.
(struct vms_mhd): Add missing fields.
(MHD__C_MHDLEN): New macro.
Pierre Muller [Fri, 30 Apr 2010 07:04:52 +0000 (07:04 +0000)]
* NEWS: Mention gdbserver support for x86_64 Windows 64-bit.
gdbadmin [Fri, 30 Apr 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 30 Apr 2010 00:00:04 +0000 (00:00 +0000)]
daily update
Doug Evans [Thu, 29 Apr 2010 22:51:04 +0000 (22:51 +0000)]
* ser-base.h (reschedule): Delete prototype.
* ser-base.c (reschedule): Make static.
Matthew Gretton-Dann [Thu, 29 Apr 2010 16:34:25 +0000 (16:34 +0000)]
*** empty log message ***
Pedro Alves [Thu, 29 Apr 2010 16:33:16 +0000 (16:33 +0000)]
PR gdb/11557
gdb/
* regcache.c (registers_changed): Rename to ...
(registers_changed_ptid): ... this, and only delete register cache
entries matching the ptid filter argument.
(registers_changed): Reimplement on top of registers_changed_ptid.
* regcache.h (registers_changed_ptid): Declare.
* target.c (target_resume): Flush register caches.
gdb/testsuite/
* gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
files.
Joel Brobecker [Thu, 29 Apr 2010 16:03:32 +0000 (16:03 +0000)]
Fix typo in ChangeLog name (non-UTF8 character).
Seems to have been inserted accidently.
Phil Muldoon [Thu, 29 Apr 2010 15:45:57 +0000 (15:45 +0000)]
2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
Tom Tromey <tromey@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
* Makefile.in (SUBDIR_PYTHON_OBS): Add py-parameter.
(SUBDIR_PYTHON_SRCS): Likewise.
(py-parameter.o): New rule.
* python/py-parameter.c: New file.
* python/python-internal.h (gdbpy_initialize_parameter)
(gdbpy_parameter, gdbpy_parameter_value)
(gdbpy_parse_command_name): Declare.
* python/py-cmd.c (parse_command_name): Rename to
gdbpy_parse_command_name.
(gdbpy_parse_command_name): Accept a starting list parameter and
use over cmdlist.
(cmdpy_init): Use gdbpy_parse_command_name.
* python/python.c (parameter_to_python): Rename to
gdbpy_parameter_to_python. Accept enum var_types and value.
(gdbpy_parameter): Use gdbpy_parameter_value.
(_initialize_python): Call gdbpy_initialize_parameters.
2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-param.exp: New File.
2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
Tom Tromey <tromey@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.texinfo (Parameters In Python): New Node.
Matthew Gretton-Dann [Thu, 29 Apr 2010 14:55:38 +0000 (14:55 +0000)]
* gdb/MAINTAINERS: Add myself for write after approval privileges.
Joel Brobecker [Thu, 29 Apr 2010 14:45:39 +0000 (14:45 +0000)]
D language support.
gdb/ChangeLog:
D language support.
* Makefile.in (SFILES): Add d-lang.c d-valprint.c.
(COMMON_OBS): Add d-lang.o d-valprint.o.
(HFILES_NO_SRCDIR): Add d-lang.h.
* NEWS: Mention D language support.
* c-lang.c (c_emit_char, exp_descriptor_c): Make public.
* c-lang.h (c_emit_char, exp_descriptor_c): Add declaration.
* d-lang.c: New file.
* d-lang.h: New file.
* d-valprint.c: New file.
* defs.h (enum language): Add language_d.
* dwarf2read.c (set_cu_language): Add DW_LANG_D.
* language.c (binop_result_type, integral_type, character_type)
(string_type, boolean_type, structured_type): Add language_d.
* symfile.c (init_filename_language_table): Add language_d.
* symtab.c: Include d-lang.h.
(symbol_init_language_specific, symbol_find_demangled_name)
(symbol_natural_name, lookup_symbol_in_language)
(symbol_demangled_name, symbol_matches_domain): Add language_d.
gdb/doc/ChangeLog:
* gdb.texinfo: (Summary) Add mention about D language support.
(Filenames): Add D suffixes.
(D): New node.
gdb/testsuite/ChangeLog:
* gdb.base/default.exp: Fix "set language" test.
Nick Clifton [Thu, 29 Apr 2010 14:44:15 +0000 (14:44 +0000)]
* write.c (fixup_segment): Do not assume we know the section a
defined weak symbol is in.
* config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
weak symbols as not known to be in the same section, even if they
are defined.
* gas/arm/weakdef-1.s: New.
* gas/arm/weakdef-1.d: New.
* gas/arm/weakdef-2.s: New.
* gas/arm/weakdef-2.d: New.
* gas/arm/weakdef-2.l: New.