Ulrich Weigand [Sat, 9 Jun 2007 14:02:39 +0000 (14:02 +0000)]
2007-06-09 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (MEMORY_INSERT_BREAKPOINT): Replace by
gdbarch_memory_insert_breakpoint.
* mem-break.c (memory_insert_breakpoint): Likewise.
* gdbarch.sh (MEMORY_REMOVE_BREAKPOINT): Replace by
gdbarch_memory_remove_breakpoint.
* mem-break.c (memory_remove_breakpoint): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Ulrich Weigand [Sat, 9 Jun 2007 13:59:42 +0000 (13:59 +0000)]
2007-06-09 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS): Replace by
gdbarch_fetch_tls_load_module_address.
* gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS_P): Replace by
gdbarch_fetch_tls_load_module_address_p.
* gdbarch.c, gdbarch.h: Regenerate.
Ulrich Weigand [Sat, 9 Jun 2007 13:55:51 +0000 (13:55 +0000)]
2007-06-09 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (DECR_PC_AFTER_BREAK): Replace by
gdbarch_decr_pc_after_break.
* tracepoint.c (trace_dump_command): Likewise.
* solib-sunos.c (sunos_solib_create_inferior_hook): Likewise.
* linux-thread-db.c (check_event): Likewise.
* linux-nat.c (cancel_breakpoints_callback): Likewise.
* infrun.c (adjust_pc_after_break, normal_stop): Likewise.
* frame.h: Likewise (comment).
* dummy-frame.c (deprecated_pc_in_call_dummy): Likewise.
* aix-thread.c (aix_thread_wait): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Ulrich Weigand [Sat, 9 Jun 2007 13:51:51 +0000 (13:51 +0000)]
2007-06-09 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS): Replace by
gdbarch_address_class_type_flags.
* dwarf2read.c (read_tag_pointer_type): Likewise.
* gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_P): Replace by
gdbarch_address_class_type_flags_p.
* dwarf2read.c (read_tag_pointer_type): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Ulrich Weigand [Sat, 9 Jun 2007 13:49:20 +0000 (13:49 +0000)]
2007-06-09 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (ADDR_BITS_REMOVE): Replace by gdbarch_addr_bits_remove.
* value.c (value_as_address): Likewise (comment).
* remote-mips.c (common_breakpoint): Likewise.
* regcache.c (read_pc_pid): Likewise.
* printcmd.c (do_one_display): Likewise.
* monitor.c (monitor_write_memory, monitor_read_memory)
(monitor_insert_breakpoint): Likewise.
* mips-tdep.c (heuristic_proc_start): Likewise.
* infrun.c (insert_step_resume_breakpoint_at_frame)
(insert_step_resume_breakpoint_at_caller): Likewise.
* buildsym.c (record_line): Likewise.
* arm-tdep.c (arm_scan_prologue, thumb_get_next_pc)
(arm_get_next_pc): Likewise.
* armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register)
(store_regs): Likewise.
* arm-linux-tdep.c (arm_linux_supply_gregset): Likewise.
* arm-linux-nat.c (fetch_register, fetch_regs): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Ulrich Weigand [Sat, 9 Jun 2007 13:42:16 +0000 (13:42 +0000)]
2007-06-09 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (REGISTER_NAME): Replace by gdbarch_register_name.
* tracepoint.c (scope_info): Likewise.
* target.c (debug_print_register): Likewise.
* stack.c (frame_info): Likewise.
* sh-tdep.c (sh_register_reggroup_p): Likewise.
* sh64-tdep.c (sh64_do_fp_register, sh64_do_register)
(sh64_media_print_registers_info)
(sh64_compact_print_registers_info): Likewise.
* rs6000-tdep.c (rs6000_register_reggroup_p): Likewise.
* remote-sim.c (gdbsim_fetch_register): Likewise.
* remote.c (packet_reg): Likewise (comment).
* reggroups.c (default_register_reggroup_p): Likewise.
* regcache.c (regcache_dump): Likewise.
* printcmd.c (address_info): Likewise.
* ppc-linux-nat.c (fetch_register, store_register): Likewise.
* mt-dep.c (mt_registers_info): Likewise.
* mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Likewise (comment).
* mips-tdep.c (mips_register_reggroup_p, mips_read_fp_register_single)
(mips_read_fp_register_double, mips_print_fp_register)
(mips_print_register, print_gp_register_row, mips_print_registers_info)
(mips_register_sim_regno): Likewise.
* m68klinux-nat.c (regmap, fetch_register, store_register): Likewise.
* inf-ptrace.c (inf_ptrace_fetch_register)
(inf_ptrace_store_register): Likewise.
* infcmd.c (default_print_registers_info): Likewise.
* ia64-linux-nat.c (ia64_linux_fetch_register)
(ia64_linux_store_register): Likewise.
* i386-linux-nat.c (fetch_register, store_register): Likewise.
* i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise.
* hppa-linux-nat.c (fetch_register, store_register): Likewise.
* hppa-hpux-nat.c (hppa_hpux_fetch_register)
(hppa_hpux_store_register): Likewise.
* findvar.c (locate_var_value): Likewise.
* dwarf2loc.c (locexpr_describe_location): Likewise.
* dwarf2-frame.c (execute_cfa_program): Likewise.
* arm-tdep.c (arm_push_dummy_call): Likewise.
* arch-utils.c (legacy_register_sim_regno): Likewise.
* alpha-tdep.c (alpha_register_reggroup_p): Likewise.
* alpha-nat.c (fetch_osf_core_registers): Likewise.
* mi/mi-main.c (mi_cmd_data_list_register_names)
(mi_cmd_data_list_changed_registers, mi_cmd_data_list_register_values)
(mi_cmd_data_write_register_values): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Vladimir Prus [Sat, 9 Jun 2007 10:08:16 +0000 (10:08 +0000)]
* gdb.texinfo (GDB/MI Variable Objects): Editorial
comments.
Alan Modra [Sat, 9 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 9 Jun 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 8 Jun 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 8 Jun 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Geoffrey Keating [Thu, 7 Jun 2007 18:43:51 +0000 (18:43 +0000)]
* configure.ac: Non-default multilibs can be cross compilations.
* configure: Regenerate
Daniel Jacobowitz [Thu, 7 Jun 2007 14:24:15 +0000 (14:24 +0000)]
* target-memory.c (blocks_to_erase): Correct off-by-one error.
H.J. Lu [Thu, 7 Jun 2007 14:07:02 +0000 (14:07 +0000)]
Cleanup white spaces and fix an entry.
Vladimir Prus [Thu, 7 Jun 2007 05:00:42 +0000 (05:00 +0000)]
* remote.c (process_g_packet): Don't check size.
* gdbarch.sh: Remove register_bytes_ok.
* gdbarch.c: Regenerated.
* gdbarch.h: Regenerated.
* m68k-tdep.c (REGISTER_BYTES_NOFP): Remove.
(m68k_register_bytes_ok): Remove.
(m68k_gdbarch_init): Don't register m68k_register_bytes_ok.
gdbadmin [Thu, 7 Jun 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 7 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update
Ben Elliston [Wed, 6 Jun 2007 23:23:36 +0000 (23:23 +0000)]
* config.sub, config.guess: Update from upstream sources.
Ben Elliston [Wed, 6 Jun 2007 23:12:21 +0000 (23:12 +0000)]
* Makefile.tpl: Fix spelling error.
* Makefile.in: Regenerate.
Nick Roberts [Wed, 6 Jun 2007 21:29:14 +0000 (21:29 +0000)]
(Emacs): Describe GDB under Emacs 22.1.
Nick Roberts [Wed, 6 Jun 2007 21:27:24 +0000 (21:27 +0000)]
*** empty log message ***
Andreas Schwab [Wed, 6 Jun 2007 19:35:02 +0000 (19:35 +0000)]
* libunwind-frame.c (unw_destroy_addr_space_p): Define.
(destroy_addr_space_name): Define.
(libunwind_load): Get address of destroy_addr_space function.
(libunwind_frame_cache): Destroy unw_addr_space_t object before
returning unsuccessfully.
(libunwind_frame_sniffer): Destroy unw_addr_space_t object before
returning.
(libunwind_sigtramp_frame_sniffer): Likewise.
(libunwind_get_reg_special): Likewise.
Paul Brook [Wed, 6 Jun 2007 17:36:54 +0000 (17:36 +0000)]
2007-06-06 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (s_align): Pad code sections appropriately.
gas/testsuite/
* gas/arm/thumb.d: Update expected output.
* gas/arm/thumb2_relax.d: Ditto.
Ulrich Weigand [Wed, 6 Jun 2007 15:43:26 +0000 (15:43 +0000)]
2007-06-06 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (FETCH_POINTER_ARGUMENT): Replace by
gdbarch_fetch_pointer_argument.
* objc-lang.c (OBJC_FETCH_POINTER_ARGUMENT): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Ulrich Weigand [Wed, 6 Jun 2007 15:38:56 +0000 (15:38 +0000)]
2007-06-06 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Replace by
gdbarch_have_nonsteppable_watchpoint.
* infrun.c (handle_inferior_event, adjust_pc_after_break): Likewise.
* gdbarch.sh (CANNOT_STEP_BREAKPOINT): Replace by
gdbarch_cannot_step_breakpoint.
* infrun.c (resume): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Ulrich Weigand [Wed, 6 Jun 2007 15:35:49 +0000 (15:35 +0000)]
2007-06-06 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (FRAME_ARGS_SKIP): Replace by gdbarch_frame_args_skip.
* stack.c (print_frame_args): Likewise.
* gdbarch.sh (FRAME_NUM_ARGS): Replace by gdbarch_frame_num_args.
* stack.c (print_args_stub, frame_info): Likewise.
* gdbarch.sh (FRAME_NUM_ARGS_P): Replace by gdbarch_frame_num_args_p.
* stack.c (print_args_stub, frame_info): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Ulrich Weigand [Wed, 6 Jun 2007 15:32:25 +0000 (15:32 +0000)]
2007-06-06 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (COFF_MAKE_MSYMBOL_SPECIAL): Replace by
gdbarch_coff_make_msymbol_special.
* coffread.c (coff_symtab_read): Likewise.
* gdbarch.sh (ELF_MAKE_MSYMBOL_SPECIAL): Replace by
gdbarch_elf_make_msymbol_special.
* elfread.c (elf_symtab_read): Likewise.
* mips-tdep.c (mips_elf_make_msymbol_special): Likewise (comment).
* sh64-tdep.c (MSYMBOL_IS_SPECIAL): Likewise (comment).
* gdbarch.c, gdbarch.h: Regenerate.
Ulrich Weigand [Wed, 6 Jun 2007 15:29:35 +0000 (15:29 +0000)]
2007-06-06 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by
gdbarch_frame_red_zone_size.
* gdbarch.c, gdbarch.h: Regenerate.
Ulrich Weigand [Wed, 6 Jun 2007 15:26:28 +0000 (15:26 +0000)]
2007-06-06 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than.
* infcall.c (call_function_by_hand): Likewise.
* gcore.c (derive_stack_segment): Likewise.
* frame.c (frame_id_inner): Likewise.
* arch-utils.c (core_addr_lessthan): Likewise (comment).
* ada-lang.c (ensure_lval): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Ulrich Weigand [Wed, 6 Jun 2007 15:23:06 +0000 (15:23 +0000)]
2007-06-06 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (ADDRESS_TO_POINTER): Replace by
gdbarch_address_to_pointer.
* findvar.c (store_typed_address): Likewise.
* gdbtypes.c (make_pointer_type): Likewise (comment).
* procfs.c (procfs_address_to_host_pointer): Likewise.
* std-regs.c (value_of_builtin_frame_reg): Likewise.
(value_of_builtin_frame_fp_reg): Likewise.
(value_of_builtin_frame_pc_reg): Likewise.
* utils.c (paddress): Likewise (comment).
* gdbarch.sh (POINTER_TO_ADDRESS): Replace by
gdbarch_pointer_to_address.
* findvar.c (extract_typed_address): Likewise.
* gdbtypes.c (make_pointer_type): Likewise (comment).
* valops.c (value_cast): Likewise (comment).
* gdbarch.c, gdbarch.h: Regenerate.
Ulrich Weigand [Wed, 6 Jun 2007 15:15:34 +0000 (15:15 +0000)]
* gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target.
* infrun.c (handle_inferior_event): Likewise.
* gdbarch.sh (GET_LONGJMP_TARGET_P): Replace by
gdbarch_get_longjmp_target_p.
* breakpoint.c (breakpoint_re_set): Likewise.
* infrun.c (handle_inferior_event): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Nick Clifton [Wed, 6 Jun 2007 08:02:47 +0000 (08:02 +0000)]
PR binutils/4356 binutils/591
* resrc.c (filename_need_quotes): New function.
(look_for_default): If filename_need_quotes is true then quote the filename in the command line being created.
(read_rc_file): Likewise.
Ben Elliston [Wed, 6 Jun 2007 04:46:41 +0000 (04:46 +0000)]
* doc/binutils.texi (objdump): Fix capitalisation of "PowerPC".
Alan Modra [Wed, 6 Jun 2007 00:00:08 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 6 Jun 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Ulrich Weigand [Tue, 5 Jun 2007 22:47:50 +0000 (22:47 +0000)]
* hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook,
HP_ACC_EH_set_hook_value, HP_ACC_EH_notify_callback, HP_ACC_EH_break,
HP_ACC_EH_catch_throw, HP_ACC_EH_catch_catch, __eh_notification,
hp_cxx_exception_support, hp_cxx_exception_support_initialized,
eh_notify_hook_addr, eh_notify_callback_addr, eh_break_addr,
eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior,
find_stub_with_shl_get, cover_find_stub_with_shl_get,
initialize_hp_cxx_exception_support, child_enable_exception_callback,
current_ex_event, child_get_current_exception_event): Remove.
(hppa_hpux_inferior_created): Remove.
(hppa_hpux_init_abi): Do not install hppa_hpux_inferior_created.
* breakpoint.h (deprecated_exception_catchpoints_are_fragile): Remove.
(deprecated_exception_support_initialized): Remove.
* breakpoint.c (deprecated_exception_catchpoints_are_fragile): Remove.
(deprecated_exception_support_initialized): Remove.
(breakpoint_init_inferior): Remove handling of non-zero
deprecated_exception_catchpoints_are_fragile.
* symtab.h (deprecated_hp_som_som_object_present): Remove.
* symtab.c (deprecated_hp_som_som_object_present): Remove.
* c-typeprint.c (c_type_print_base): Remove handling of non-zero
deprecated_hp_som_som_object_present.
* eval.c (evaluate_subexp_standard): Likewise.
* valops.c (value_cast): Likewise.
* parse.c (parse_nested_classes_for_hpacc, coloncolon): Remove.
* parser-defs.h (parse_nested_classes_for_hpacc): Remove.
* c-exp.y (yylex): Do not call parse_nested_classes_for_hpacc.
Ulrich Weigand [Tue, 5 Jun 2007 22:46:30 +0000 (22:46 +0000)]
* objfiles.h (ImportEntry, ExportEntry): Remove types.
(struct objfile): Remove import_list, import_list_size,
export_list, export_list_size members.
(is_in_import_list): Remove prototype.
* objfiles.c (is_in_import_list): Remove.
* somread.c (init_import_symbols, init_export_symbols): Remove.
(som_symfile_read): Do not call init_import_symbols. Do not
set objfile->export_list and objfile->export_list_size.
Paul Brook [Tue, 5 Jun 2007 22:02:47 +0000 (22:02 +0000)]
2007-06-05 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (insns): Correct Thumb-2 ldrd/strd opcodes.
gas/testsuite/
* gas/arm/thumb32.d: Add writeback addressing mode tests.
* gas/arm/thumb32.s: Update expected output.
opcodes/
* arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
Daniel Jacobowitz [Tue, 5 Jun 2007 18:50:41 +0000 (18:50 +0000)]
* gdb.arch/thumb-prologue.c: Record the breakpoint address in
tpcs_offset. Restore lr after the call.
* gdb.arch/thumb-prologue.exp: Use tpcs_offset.
Nick Clifton [Tue, 5 Jun 2007 17:00:33 +0000 (17:00 +0000)]
Patch for PR4587 + move proc run_list_test into gas-defs.exp
Daniel Jacobowitz [Tue, 5 Jun 2007 15:04:40 +0000 (15:04 +0000)]
* dwarf2read.c (dwarf2_symbol_mark_computed): Fix formatting.
Use the original objfile if necessary.
Nick Clifton [Tue, 5 Jun 2007 13:10:30 +0000 (13:10 +0000)]
* Makefile.am: Add LIBICONV to windres.
* acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files.
* configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV.
* config.in: Add ICONV defines.
* aclocal: Regenerate.
* confugure: Regenerate.
* winduni.c: (local_iconv_map codepages, wind_language_t, languages, unicode_is$
(ascii_from_unicode): Use codepage_from_unicode.
(ascii_from_unicode): Use unicode_from_codepage.
Use for cygwin windows API for unicode transformation.
* winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New macros.
(wind_language_t, local_iconv_map): New types.
(wind_find_language_by_id, wind_find_language_by_codepage,
(unicode_is_valid_codepage, wind_find_codepage_info, unicode_from_codepage, c$
Alan Modra [Tue, 5 Jun 2007 00:28:04 +0000 (00:28 +0000)]
* config/tc-spu.c (spu_cons): Use deferred_expression. Handle
number@ppu.
(tc_gen_reloc): Abort if neither addsy or subsy is set.
(md_apply_fix): Don't attempt to resolve SPU_PPU relocs.
* config/tc-spu.h (md_operand): Handle @ppu without sym.
Alan Modra [Tue, 5 Jun 2007 00:27:39 +0000 (00:27 +0000)]
* embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.
gdbadmin [Tue, 5 Jun 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 5 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update
Daniel Jacobowitz [Mon, 4 Jun 2007 12:34:11 +0000 (12:34 +0000)]
* defs.h (ldirname): New prototype.
* dwarf2read.c (read_file_scope): Use DW_AT_name if DW_AT_comp_dir is
missing.
* utils.c (ldirname): New function.
* xml-tdesc.c (file_read_description_xml): Use ldirname.
Paolo Bonzini [Mon, 4 Jun 2007 09:33:35 +0000 (09:33 +0000)]
2007-06-04 Olivier Hainque <hainque@adacore.com>
* mh-ppc-aix: Add default ADAFLAGS to BOOT_ADAFLAGS.
Paolo Bonzini [Mon, 4 Jun 2007 08:32:52 +0000 (08:32 +0000)]
2007-06-04 Paolo Bonzini <bonzini@gnu.org>
Sync with gcc:
2007-05-30 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/29382
* configure.ac: Don't use -fkeep-inline-functions for GCC < 3.3.1.
* configure: Rebuilt.
Alan Modra [Mon, 4 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 4 Jun 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Sun, 3 Jun 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 3 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update
Alan Modra [Sat, 2 Jun 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 2 Jun 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Ulrich Weigand [Fri, 1 Jun 2007 19:31:08 +0000 (19:31 +0000)]
* spu-tdep.c (spu_push_dummy_call): Store stack back chain.
Joel Brobecker [Fri, 1 Jun 2007 14:24:37 +0000 (14:24 +0000)]
* solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning.
H.J. Lu [Fri, 1 Jun 2007 13:44:18 +0000 (13:44 +0000)]
Correct ChangeLog entry.
Ulrich Weigand [Fri, 1 Jun 2007 13:15:59 +0000 (13:15 +0000)]
* irix5-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): Remove.
Ulrich Weigand [Fri, 1 Jun 2007 13:05:54 +0000 (13:05 +0000)]
* ppc-linux-tdep.c (INSTR_SC, INSTR_LI_R0_0x6666, INSTR_LI_R0_0x7777,
INSTR_LI_R0_NR_sigreturn, INSTR_LI_R0_NR_rt_sigreturn): Remove.
(PPC_LINUX_SIGNAL_FRAMESIZE, PPC_LINUX_REGS_PTR_OFFSET,
PPC_LINUX_HANDLER_PTR_OFFSET): Remove.
(ppc_linux_in_sigtramp, insn_is_sigreturn,
ppc_linux_at_sigtramp_return_path): Remove.
Paolo Bonzini [Fri, 1 Jun 2007 11:33:01 +0000 (11:33 +0000)]
2007-06-01 Steve Ellcey <sje@cup.hp.com>
* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): Try using getconf
to set lt_cv_sys_max_cmd_len.
Alan Modra [Fri, 1 Jun 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 1 Jun 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Ulrich Weigand [Thu, 31 May 2007 20:57:41 +0000 (20:57 +0000)]
2007-05-31 Markus Deuling <deuling@de.ibm.com>
* xtensa-tdep.c (XTENSA_IS_ENTRY, extract_call_winsize)
(xtensa_register_write_masked, xtensa_register_read_masked)
(xtensa_extract_return_value, xtensa_store_return_value
(xtensa_push_dummy_call, xtensa_breakpoint_from_pc): Replace
TARGET_BYTE_ORDER by gdbarch_byte_order.
* sh-tdep.c (sh_breakpoint_from_pc, gdb_print_insn_sh)
(sh_justify_value_in_reg, sh_next_flt_argreg, sh_push_dummy_call_fpu)
(sh_extract_return_value_fpu, sh_store_return_value_fpu): Likewise.
* sh64-tdep.c (sh64_breakpoint_from_pc, gdb_print_insn_sh64)
(sh64_push_dummy_call, sh64_extract_return_value)
(sh64_store_return_value, sh64_register_convert_to_virtual)
(sh64_register_convert_to_raw, sh64_pseudo_register_read)
(sh64_pseudo_register_write, sh64_do_fp_register)
(sh64_frame_prev_register): Likewise.
* score-tdep.c (score_print_insn, score_breakpoint_from_pc)
(score_return_value, score_push_dummy_call, score_fetch_inst): Likewise.
* rs6000-tdep.c (rs6000_breakpoint_from_pc, rs6000_push_dummy_call)
(e500_move_ev_register,gdb_print_insn_powerpc): Likewise.
* remote-m32r-sdi.c (m32r_resume, m32r_wait): Likewise.
* ppc-linux-nat.c (store_register): Likewise.
* nto-tdep.c (nto_find_and_open_solib)
(nto_init_solib_absolute_prefix): Likewise.
* mips-tdep.c (mips_pseudo_register_read, mips_pseudo_register_write)
(mips_convert_register_p, mips_eabi_push_dummy_call)
(mips_n32n64_push_dummy_call, mips_n32n64_return_value)
(mips_o32_push_dummy_call, mips_o32_return_value)
(mips_o64_push_dummy_call, mips_o64_return_value, mips_o64_return_value)
(mips_read_fp_register_single, mips_read_fp_register_double)
(mips_print_register, print_gp_register_row, gdb_print_insn_mips)
(mips_breakpoint_from_pc): Likewise.
* mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Likewise.
* mips-linux-tdep.c (mips64_supply_fpregset, mips64_fill_fpregset)
(mips_linux_o32_sigframe_init): Likewise.
* m32r-tdep.c (m32r_memory_insert_breakpoint)
(m32r_memory_remove_breakpoint, m32r_breakpoint_from_pc): Likewise.
* libunwind-frame.c (libunwind_frame_cache, libunwind_frame_sniffer)
(libunwind_sigtramp_frame_sniffer, libunwind_get_reg_special): Likewise.
* iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise.
* coffread.c (process_coff_symbol): Likewise.
* arm-tdep.c (convert_from_extended, convert_to_extended)
(gdb_print_insn_arm): Likewise.
Richard Sandiford [Thu, 31 May 2007 20:22:56 +0000 (20:22 +0000)]
bfd/
* elfxx-mips.c (mips_elf_initialize_tls_index): When processing a
type (3) single-GOT entry, read tls_type from the hash table entry
rather than the GOT entry.
Ulrich Weigand [Thu, 31 May 2007 17:32:22 +0000 (17:32 +0000)]
2007-05-31 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (NUM_REGS): Replace by gdbarch_num_regs.
* i386-tdep.c (i386_dbx_reg_to_regnum)
(i386_svr4_reg_to_regnum): Likewise.
* inf-ptrace.c (inf_ptrace_fetch_registers)
(inf_ptrace_store_registers): Likewise.
* corelow.c (get_core_registers): Likewise.
* i386-linux-nat.c (supply_gregset, fill_gregset)
(i386_linux_fetch_inferior_registers)
(i386_linux_store_inferior_registers): Likewise.
* remote.c (init_remote_state,packet_reg_from_regnum)
(packet_reg_from_pnum,process_g_packet,remote_fetch_registers)
(remote_prepare_to_store,store_registers_using_G)
(remote_store_registers,remote_arch_state): Likewise.
* tracepoint.c (encode_actions): Likewise.
* mi/mi-main.c (mi_cmd_data_list_register_names)
(mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values)
(mi_cmd_data_write_register_values): Likewise.
* tui/tui-regs.c (tui_show_register_group)
(tui_show_register_group): Likewise.
* xtensa-tdep.h (FP_ALIAS): Likewise.
* xtensa-tdep.c (xtensa_register_name,xtensa_register_type)
(xtensa_reg_to_regnum,xtensa_pseudo_register_read)
(xtensa_pseudo_register_write,xtensa_register_reggroup_p): Likewise.
* win32-nat.c (do_win32_fetch_inferior_registers)
(do_win32_store_inferior_registers,fetch_elf_core_registers
* user-regs.h: Likewise (comment).
* user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise.
* trad-frame.c (trad_frame_alloc_saved_regs): Likewise.
* target-descriptions.h: Likewise (comment).
* target-descriptions.c (tdesc_use_registers): Likewise (comment).
* target.c (debug_print_register): Likewise.
* stack.c (frame_info): Likewise.
* stabsread.c (define_symbol): Likewise.
* sh64-tdep.c (sh64_do_pseudo_register,sh64_print_register)
(sh64_media_print_registers_info)
(sh64_compact_print_registers_info): Likewise.
* rs6000-tdep.c (rs6000_register_sim_regno): Likewise.
* rs6000-nat.c (fetch_register,store_register): Likewise.
* remote-sim.c (one2one_register_sim_regno,gdbsim_fetch_register)
(gdbsim_fetch_register,gdbsim_store_register): Likewise.
* remote-mips.c (mips_fetch_registers,mips_store_registers): Likewise.
* remote-m32r-sdi.c (m32r_fetch_registers)
(m32r_store_registers): Likewise.
* reggroups.c (default_register_reggroup_p): Likewise.
* regcache.c (init_regcache_descr,register_size,regcache,regcache_save)
(regcache_restore,regcache_dump): Likewise.
* monitor.c (monitor_fetch_registers,monitor_store_registers): Likewise.
* mips-tdep.c (mips_xfer_register,mips_register_name)
(mips_register_reggroup_p,mips_pseudo_register_read)
(mips_pseudo_register_write,mips_convert_register_p,mips_register_type)
(mips_unwind_pc,mips_unwind_sp,mips_unwind_dummy_id,set_reg_offset)
(mips16_scan_prologue,mips_insn16_frame_cache,reset_saved_regs)
(mips32_scan_prologue,mips_insn32_frame_cache,read_next_frame_reg)
(mips_n32n64_return_value,mips_o32_return_value,mips_o64_return_value)
(print_gp_register_row,mips_print_registers_info)
(mips_stab_reg_to_regnum,mips_dwarf_dwarf2_ecoff_reg_to_regnum)
(mips_register_sim_regno): Likewise.
* mips-linux-tdep.c (mips_linux_o32_sigframe_init)
(mips_linux_n32n64_sigframe_init): Likewise.
* mips-linux-nat.c (mips_linux_register_addr)
(mips64_linux_register_addr): Likewise.
* findvar.c (value_of_register): Likewise.
* infcmd.c (default_print_registers_info,registers_info)
(print_vector_info,print_float_info): Likewise.
* mips64obsd-tdep.c (mips64obsd_sigframe_init): Likewise.
* inf-child.c (inf_child_fetch_inferior_registers): Likewise.
* m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise.
* m68hc11-tdep.c (m68hc11_frame_unwind_cache(: Likewise.
* m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
* ia64-linux-nat.c (ia64_register_addr,ia64_cannot_fetch_register)
(ia64_cannot_store_register,ia64_linux_fetch_registers)
(ia64_linux_store_registers): Likewise.
* hpux-thread.c (hpux_thread_fetch_registers)
(hpux_thread_store_registers): Likewise.
* h8300-tdep.c (E_PSEUDO_CCR_REGNUM,E_PSEUDO_EXR_REGNUM)
(h8300_init_frame_cache,h8300_frame_cache,h8300_frame_prev_register)
(h8300_register_type): Likewise.
* dwarf2-frame.c (dwarf2_frame_cache)
(dwarf2_frame_state_alloc_regs): Likewise.
* cris-tdep.c (cris_register_size,cris_cannot_fetch_register)
(cris_cannot_store_register,crisv32_cannot_fetch_register)
(crisv32_cannot_store_register,cris_register_name): Likewise.
* avr-tdep.c (avr_frame_unwind_cache): Likewise.
* arch-utils.c (legacy_register_sim_regno)
(legacy_virtual_frame_pointer): Likewise.
* arm-tdep.c (arm_make_prologue_cache,arm_register_sim_regno):Likewise.
* arm-tdep.h: Likewise (comment).
* frv-tdep.c (frv_register_sim_regno): Likewise.
* m68klinux-nat.c (old_fetch_inferior_registers)
(old_store_inferior_registers): Likewise.
* m32c-tdep.c (m32c_virtual_frame_pointer): Likewise.
* irix5-nat.c (fetch_core_registers): Likewise.
* hppa-tdep.c (hppa_frame_cache): Likewise.
* hppa-linux-nat.c (hppa_linux_register_addr)
(hppa_linux_fetch_inferior_registers)
(hppa_linux_store_inferior_registers): Likewise.
* hppa-hpux-nat.c (hppa_hpux_fetch_inferior_registers)
(hppa_hpux_store_inferior_registers): Likewise.
* amd64-nat.c (amd64_native_gregset_reg_offset)
(amd64_supply_native_gregset,amd64_collect_native_gregset): Likewise.
* dbug-rom.c (dbug_regname): Likewise.
* m68hc11-tdep.c (m68hc11_frame_unwind_cache)
(HARD_PAGE_REGNUM (comment)): Likewise.
* gdbarch.sh (NUM_PSEUDO_REGS): Replace by gdbarch_num_pseudo_regs.
* i386-tdep.c (i386_dbx_reg_to_regnum)
(i386_svr4_reg_to_regnum): Likewise.
* mi/mi-main.c (mi_cmd_data_list_register_names)
(mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values)
(mi_cmd_data_write_register_values): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
* tui/tui-regs.c (tui_show_register_group): Likewise.
* xtensa-tdep.h (FP_ALIAS): Likewise.
* user-regs.h: Likewise (comment).
* user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise.
* trad-frame.c (trad_frame_alloc_saved_regs): Likewise.
* target-descriptions.h: Likewise (comment).
* target.c (debug_print_register): Likewise.
* stack.c (frame_info): Likewise.
* stabsread.c (define_symbol): Likewise.
* sh64-tdep.c (sh64_print_register,sh64_media_print_registers_info)
(sh64_compact_print_registers_info): Likewise.
* rs6000-tdep.c (rs6000_register_sim_regno): Likewise.
* regcache.c (init_regcache_descr,register_size,regcache,regcache_save
(regcache_restore,regcache_dump): Likewise.
* mips-tdep.c (print_gp_register_row,mips_print_registers_info)
(mips_dwarf_dwarf2_ecoff_reg_to_regnum)
(mips_stab_reg_to_regnum): Likewise.
* findvar.c (value_of_register): Likewise.
* infcmd.c (default_print_registers_info,registers_info)
(print_vector_info,print_float_info): Likewise.
* m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise.
* h8300-tdep.c (h8300_register_type): Likewise.
* dwarf2-frame.c (dwarf2_frame_cache): Likewise.
* frame.h (SIZEOF_FRAME_SAVED_REGS): Likewise.
* xtensa-tdep.c (xtensa_register_type,xtensa_reg_to_regnum)
(xtensa_pseudo_register_read,xtensa_pseudo_register_write): Likewise.
* parse.c: Remove comment.
* gdbarch.c, gdbarch.h: Regenerate
Ulrich Weigand [Thu, 31 May 2007 17:19:32 +0000 (17:19 +0000)]
2007-05-31 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (CANNOT_FETCH_REGISTER): Replace by
gdbarch_cannot_fetch_register.
* alpha-nat.c (fetch_osf_core_registers): Likewise.
* hppa-linux-nat.c (fetch_register): Likewise.
* inf-ptrace.c (inf_ptrace_fetch_register): Likewise.
* m68klinux-nat.c (fetch_register): Likewise.
* mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg):
Likewise.
* gdbarch.sh (CANNOT_STORE_REGISTER): Replace by
gdbarch_cannot_store_register.
* hppa-linux-nat.c (store_register): Likewise.
* inf-ptrace.c (inf_ptrace_store_register): Likewise.
* regcache.c (regcache_raw_write): Likewise.
* m68klinux-nat.c (store_register): Likewise.
* mipsnbsd-tdep.c (mipsnbsd_fill_reg, mipsnbsd_fill_fpreg): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Ulrich Weigand [Thu, 31 May 2007 17:05:00 +0000 (17:05 +0000)]
2007-05-31 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (TARGET_OSABI): Replace by gdbarch_osabi.
* gdbarch.c, gdbarch.h: Regenerate.
Ulrich Weigand [Thu, 31 May 2007 17:01:45 +0000 (17:01 +0000)]
2007-05-31 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (TARGET_CHAR_SIGNED): Replace by gdbarch_char_signed.
* gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Ulrich Weigand [Thu, 31 May 2007 17:00:07 +0000 (17:00 +0000)]
2007-05-31 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (TARGET_BYTE_ORDER): Replace by gdbarch_byte_order.
* ax-gdb.c (gen_bitfield_ref): Likewise.
* mi/mi-main.c (get_register): Likewise.
* findvar.c (default_value_from_register, extract_signed_integer)
(extract_unsigned_integer, extract_long_unsigned_integer)
(store_signed_integer, store_unsigned_integer): Likewise.
* regcache.c (regcache_dump): Likewise.
* value.c (lookup_internalvar, value_of_internalvar)
(set_internalvar): Likewise.
* defs.h: Likewise.
* valprint.c (print_binary_chars, print_octal_chars)
(print_decimal_chars, print_hex_chars, print_char_chars): Likewise.
* infcmd.c (default_print_registers_info): Likewise.
* arch-utils.c (selected_byte_order, show_endian): Likewise.
* stabsread.c (define_symbol): Likewise.
* doublest.c (floatformat_from_length, floatformat_from_type)
(extract_typed_floating, store_typed_floating): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Ulrich Weigand [Thu, 31 May 2007 16:57:30 +0000 (16:57 +0000)]
2007-05-31 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (CALL_DUMMY_LOCATION): Replace by
gdbarch_call_dummy_location.
* infcall.c (call_function_by_hand): Likewise.
* inferior.h: Change comment.
* arch-utils.c: Change comment.
* gdbarch.c, gdbarch.h: Regenerate.
Alan Modra [Thu, 31 May 2007 15:04:52 +0000 (15:04 +0000)]
include/
* bfdlink.h (struct bfd_link_info): Add input_bfds_tail.
bfd/
* simple.c (bfd_simple_get_relocated_section_content): Init
input_bfds_tail.
ld/
* ldlang.c (ldlang_add_file): Use input_bfds_tail.
* ldmain.c (main): Init input_bfds_tail. Sort link_info
initialization.
Paul Brook [Thu, 31 May 2007 14:50:16 +0000 (14:50 +0000)]
2007-05-31 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (insns): Allow strex on M profile cores.
Paolo Bonzini [Thu, 31 May 2007 06:40:36 +0000 (06:40 +0000)]
2007-05-31 Paolo Bonzini <bonzini@gnu.org>
* ltgcc.m4: Update from GCC.
Alan Modra [Thu, 31 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 31 May 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 30 May 2007 14:29:27 +0000 (14:29 +0000)]
bfd/
* elf.c (elf_fake_sections): Adjust test for SHT_NOBITS sections
created by objcopy --only-keep-debug.
(_bfd_elf_init_private_section_data): Only change elf_section_type
if it is SHT_NULL.
binutils/
* objcopy.c (copy_object): Revert 2007-05-11 change. Don't
avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG.
(setup_section): Don't modify flags, and don't avoid calling
bfd_copy_private_section_data for ELF STRIP_NONDEBUG.
* readelf.c (process_program_headers): Ignore .dynamic of type
SHT_NOBITS.
Alan Modra [Wed, 30 May 2007 13:38:50 +0000 (13:38 +0000)]
* elf.c (assign_file_positions_for_load_sections): Correct sh_type
to SHT_NOBITS earlier. Base actions in rest of function on sh_type
and sh_flags instead of bfd section flags. Delete voff and code
keeping nobits segments aligned.
Alan Modra [Wed, 30 May 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 30 May 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Jim Blandy [Tue, 29 May 2007 22:04:47 +0000 (22:04 +0000)]
* gdb.texinfo (Overview): Doc fix.
Jakub Jelinek [Tue, 29 May 2007 13:18:59 +0000 (13:18 +0000)]
gas/
2007-05-29 David S. Miller <davem@davemloft.net>
Jakub Jelinek <jakub@redhat.com>
PR gas/4558
* config/tc-sparc.c (md_apply_fix): Fix relocation overflow checks
for BFD_RELOC_SPARC_WDISP16 and BFD_RELOC_SPARC_WDISP19.
gas/testsuite/
2007-05-29 Jakub Jelinek <jakub@redhat.com>
PR gas/4558
* gas/sparc/sparc.exp: Add v9branch{1,2,3,4,5} tests.
* gas/sparc/v9branch1.d: New test.
* gas/sparc/v9branch1.s: New.
* gas/sparc/v9branch2.d: New test.
* gas/sparc/v9branch2.s: New.
* gas/sparc/v9branch3.d: New test.
* gas/sparc/v9branch3.s: New.
* gas/sparc/v9branch4.d: New test.
* gas/sparc/v9branch4.s: New.
* gas/sparc/v9branch5.d: New test.
* gas/sparc/v9branch5.s: New.
Alan Modra [Tue, 29 May 2007 13:10:10 +0000 (13:10 +0000)]
binutils/
* embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if
pic or pie and image needs relocs.
ld/
* emultempl/spuelf.em (base_name): New function, split out from..
(embedded_spu_file) ..here. Pass -fPIC or -fpie to embedspu
invocation if we deduce a shared lib or position independent
executable build by looking at ctrbegin* linker input files.
Alan Modra [Tue, 29 May 2007 12:54:29 +0000 (12:54 +0000)]
* emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
types and sizes.
* emultempl/spu_ovl.o: Regenerate.
Alan Modra [Tue, 29 May 2007 02:10:09 +0000 (02:10 +0000)]
* config/tc-spu.h: Wrap in #ifndef/#endif. Delete coff macros.
Alan Modra [Tue, 29 May 2007 01:57:08 +0000 (01:57 +0000)]
* config/tc-ppc.c: Convert to ISO C.
* config/tc-ppc.c: Likewise.
Alan Modra [Tue, 29 May 2007 01:10:02 +0000 (01:10 +0000)]
* write.h (EXEC_MACHINE_TYPE): Delete.
(string_byte_count, section_alignment): Delete.
Alan Modra [Tue, 29 May 2007 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 29 May 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Nathan Sidwell [Mon, 28 May 2007 19:32:58 +0000 (19:32 +0000)]
* app.c (do_scrub_chars): Cope with \ at end of buffer.x
Joel Brobecker [Mon, 28 May 2007 16:55:30 +0000 (16:55 +0000)]
* solib-aix5.c: Delete.
* Makefile.in (solib-aix5.o): Delete rule.
Paolo Bonzini [Mon, 28 May 2007 06:35:11 +0000 (06:35 +0000)]
2007-05-27 Paolo Bonzini <bonzini@gnu.org>
* confsubdir.m4: Move here from newlib.
gdbadmin [Mon, 28 May 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 28 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 27 May 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 27 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update
Alan Modra [Sat, 26 May 2007 14:49:39 +0000 (14:49 +0000)]
* config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in
top 32 bits of 64 bit value if so doing results in passing
range check. Rewrite sign extension fudges similarly. Enable
fudges for powerpc64 too. Report user value if range check
fails rather than fudged value. Negate PPC_OPERAND_NEGATIVE
range rather than value, also to report user value on failure.
gdbadmin [Sat, 26 May 2007 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 26 May 2007 00:00:07 +0000 (00:00 +0000)]
daily update
Paul Brook [Fri, 25 May 2007 23:13:24 +0000 (23:13 +0000)]
2007-03-25 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (T2_SUBS_PC_LR): Define.
(do_t_add_sub): Correctly encode subs pc, lr, #const.
(do_t_mov_cmp): Correctly encode movs pc, lr.
gas/testsulte/
* gas/arm/thumb32.s: Add tests for subs pc, lr.
* gas/arm/thumb32.d: Change error-output: to stderr:.
Update expected output.