aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-11-022007-11-02 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand6-9/+29
* frame.c (frame_id_inner): Add gdbarch parameter. Replace current_gdbarch by gdbarch. (frame_find_by_id, get_prev_frame_1): Use get_frame_arch to get at the current architecture by frame_info. * frame.h (frame_id_inner): Add gdbarch parameter. * stack.c (return_command): Use get_frame_arch to get at the current architecture by frame_info. Update call of frame_id_inner. * infrun.c (handle_inferior_event): Likewise. * dummy-frame.c (dummy_frame_push): Use get_regcache_arch to get at the current architecture by regcache. Update call of frame_id_inner.
2007-11-022007-11-02 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand42-193/+295
* gdbarch.sh (register_name): Add gdbarch parameter. * gdbarch.{c,h}: Regenerate. * target-descriptions.c (tdesc_register_name): Add gdbarch parameter. (tdesc_register_name): Replace current_gdbarch by gdbarch. * target-descriptions.h (tdesc_register_name): Add gdbarch parameter. * xstormy16-tdep.c (xstormy16_register_name): Add gdbarch parameter. * vax-tdep.c (vax_register_name): Add gdbarch parameter. * spu-tdep.c (spu_register_name): Add gdbarch parameter. * s390-tdep.c (s390_register_name): Add gdbarch parameter. * mt-tdep.c (mt_register_name): Add gdbarch parameter. (mt_registers_info): Replace current_gdbarch by gdbarch. (mt_register_reggroup_p): Add gdbarch to mt_register_name call. * mips-tdep.c (mips_register_name): Add gdbarch parameter. Replace current_gdbarch by gdbarch. (mips_register_name): Add gdbarch to tdesc_register_name call. * mep-tdep.c (mep_register_name): Add gdbarch parameter. Replace current_gdbarch by gdbarch. (mep_register_reggroup_p): Add gdbarch to mep_register_name call. * m32c-tdep.c (m32c_register_name): Add gdbarch parameter. Replace current_gdbarch by gdbarch. * m88k-tdep.c (m88k_register_name): Add gdbarch parameter. * m68k-tdep.c (m68k_register_name): Add gdbarch parameter. * m32r-tdep.c (m32r_register_name): Add gdbarch parameter. (m32r_frame_unwind_cache): Use get_frame_arch to get at the current architecture by frame_info. * iq2000-tdep.c (iq2000_register_name): Add gdbarch parameter. * ia64-tdep.c (ia64_register_name): Add gdbarch parameter. * hppa-tdep.c (hppa32_register_name, hppa64_register_name): Add gdbarch parameter. * h8300-tdep.c (h8300_register_name, h8300s_register_name) (h8300sx_register_name): Add gdbarch parameter. * cris-tdep.c (cris_register_name, crisv32_register_name): Add gdbarch parameter. Replace current_gdbarch by gdbarch. (cris_gdbarch_init): Replace current_gdbarch by gdbarch (comment). * avr-tdep.c (avr_register_name): Add gdbarch parameter. * arm-tdep.c (arm_register_name): Add gdbarch paramete * amd64-tdep.c (amd64_register_name): Add gdbarch parameter. Update caller. * amd64-tdep.h (amd64_register_name): Add gdbarch parameter. * amd64-linux-tdep.c (amd64_linux_register_name): Add gdbarch parameter. * alpha-tdep.c (alpha_register_name): Add gdbarch parameter. (alpha_cannot_fetch_register, alpha_cannot_store_register): Update call of alpha_register_name. * frv-tdep.c (frv_register_name): Add gdbarch parameter. * i386-tdep.c (i386_register_name): Add gdbarch parameter. Replace current_gdbarch by gdbarch. (i386_register_type): Replace ?current_gdbarch by gdbarch. * i386-tdep.h (i386_register_name): Add gdbarch parameter. * i386-linux-tdep.c (i386_linux_register_name): Add gdbarch parameter. * m68hc11-tdep.c (m68hc11_register_name): Add gdbarch parameter. (m68hc11_register_reggroup_p): Add gdbarch to call of m68hc11_register_name. * mn10300-tdep.c (mn10300_generic_register_name, am33_register_name) (am33_2_register_name): Add gdbarch parameter. (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current architecture by frame_info. (mn10300_dump_tdep): Replace current_gdbarch by gdbarch. * rs6000-tdep.c (rs6000_register_name): Add gdbarch parameter. Replace current_gdbarch by gdbarch. * score-tdep.c (score_register_name): Add gdbarch parameter. (score_return_value, score_push_dummy_call): Replace current_gdbarch by gdbarch. * sh64-tdep.c (sh64_register_name): Add gdbarch parameter. (sh64_compact_reg_base_num, sh64_register_convert_to_virtual) (sh64_register_convert_to_raw, sh64_fv_reg_base_num) (sh64_dr_reg_base_num, sh64_fpp_reg_base_num): Add gdbarch parameter and update caller. Replace current_gdbarch by gdbarch. (sh64_extract_return_value, sh64_store_return_value): Use get_regcache_arch to get at the current architecture by regcache. * sh-tdep.c (sh_sh_register_name, sh_sh3_register_name) (sh_sh3e_register_name, sh_sh2e_register_name, sh_sh2a_register_name) (sh_sh2a_nofpu_register_name, sh_sh_dsp_register_name) (sh_sh3_dsp_register_name, sh_sh4_register_name) (sh_sh4_nofpu_register_name, sh_sh4al_dsp_register_name): Add gdbarch parameter. (fv_reg_base_num, dr_reg_base_num, sh_justify_value_in_reg) (sh_next_flt_argreg): Add gdbarch parameter and update caller. Replace current_gdbarch by gdbarch. (sh_extract_return_value_fpu, sh_store_return_value_fpu): Use get_regcache_arch to get at the current architecture by regcache. * sparc-tdep.c (sparc32_register_name): Add gdbarch parameter. * sparc64-tdep.c (sparc64_register_name): Add gdbarch parameter. * v850-tdep.c (v850_register_name, v850e_register_name): Add gdbarch parameter. (v850_unwind_sp, v850_unwind_pc): Replace current_gdbarch by gdbarch. * xtensa-tdep.c (xtensa_register_name): Add gdbarch parameter. Replace current_gdbarch by gdbarch. (xtensa_pseudo_register_read, xtensa_pseudo_register_write) (xtensa_frame_prev_register): Add gdbarch parameter to xtensa_register_name call.
2007-11-02From Cary Coutant: Correct generation of RELATIVE relocs.Ian Lance Taylor2-39/+105
2007-11-02From Craig Silverstein: Add more DWARF info, add some i386 comments.Ian Lance Taylor2-3/+242
2007-11-02Reworked from Andrew Chatham: report error locations.Ian Lance Taylor4-11/+131
2007-11-02 * config/tc-xtensa.c (xtensa_symbol_new_hook): New.Bob Wilson3-0/+77
(xtensa_mark_difference_of_two_symbols): New. (xtensa_post_relax_hook): Call xtensa_mark_difference_of_two_symbols. * config/tc-xtensa.h (xtensa_symfield_type): Add next_expr_symbol. (tc_symbol_new_hook): Define.
2007-11-02*** empty log message ***gdbadmin1-1/+1
2007-11-01daily updateAlan Modra1-1/+1
2007-11-01 * linux-low.c (linux_tracefork_grandchild): New.Daniel Jacobowitz2-9/+23
(linux_tracefork_child): Use clone. (linux_test_for_tracefork): Use clone; allocate and free a stack.
2007-11-01gas/H.J. Lu6-1463/+1479
2007-11-01 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (md_assemble): Replace no_xsuf with no_ldsuf. (match_template): Likewise. opcodes/ 2007-11-01 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (opcode_modifiers): Replace No_xSuf with No_ldSuf. * i386-opc.tbl: Likewise. * i386-opc.h (No_xSuf): Renamed to ... (No_ldSuf): This. (FWait): Updated.
2007-11-012007-11-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+8
* config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Use a non-ascii letter.
2007-11-01 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.Jan Kratochvil3-0/+100
2007-11-01gas/H.J. Lu13-1624/+1789
2007-11-01 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (process_suffix): Check addrprefixop0 to see if the address size override prefix changes the size of the first operand. (check_byte_reg): Don't warn if byteokintel is set. (check_long_reg): Set i.suffix to QWORD_MNEM_SUFFIX if toqword is set. (check_qword_reg): Set i.suffix to LONG_MNEM_SUFFIX if todword is set. gas/testsuite/ 2007-11-01 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.d: New. * gas/i386/i386.s: Likewise. * gas/i386/i386.exp: Run i386. * gas/i386/x86_64.s: Add tests for movsx, movsbl, movsbq, movsbw, movswl, movswq, movzx, movzb, movzbl, movzbq, movzbw, movzwl and movzwq. * gas/i386/x86_64.d: Updated. opcodes/ 2007-11-01 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword, ToQword and AddrPrefixOp0. * i386-opc.h (ByteOkIntel): New. (ToDword): Likewise. (ToQword): Likewise. (AddrPrefixOp0): Likewise. (IsPrefix): Updated. (i386_opcode_modifier): Add byteokintel, todword, toqword and addrprefixop0. * i386-opc.tbl (cvtss2si): Add ToQword. (cvttss2si): Likewise. (cvtsd2si): Add ToDword. (cvttsd2si): Likewise. (monitor): Add AddrPrefixOp0. (invlpga): Likewise. (vmload): Likewise. (vmrun): Likewise. (vmsave): Likewise. (pextrb): Add ByteOkIntel. (pinsrb): Likewise. * i386-tbl.h: Regenerated.
2007-11-01bfd:Joseph Myers5-5/+47
* merge.c (sec_merge_hash_lookup): Add parameter sec_end. Check for unterminated strings. All callers changed. (record_section): Add parameter abfd. Give error message for unterminated strings. (_bfd_merge_sections): Update call to record_section. (_bfd_write_merged_section, _bfd_merged_section_offset): Handle NULL secinfo from merge failures. ld/testsuite: * ld-elf/merge3.d, ld-elf/merge3.s: New.
2007-11-01From Cary Coutant: More support for -shared, including fixes to GOTIan Lance Taylor3-82/+208
handling.
2007-11-01*** empty log message ***gdbadmin1-1/+1
2007-10-31 * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Fall back toUlrich Weigand2-2/+7
find_solib_trampoline_target if PC is not in .plt section.
2007-10-312007-10-31 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-7/+17
* i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1. (USE_REG_TABLE): Likewise. (USE_MOD_TABLE): Likewise. (USE_RM_TABLE): Likewise. (USE_PREFIX_TABLE): Likewise. (USE_X86_64_TABLE): Likewise. (USE_3BYTE_TABLE): Likewise.
2007-10-31daily updateAlan Modra1-1/+1
2007-10-31 * Makefile.in: Use $(SHELL) instead of "sh" to call regdat.sh.Joel Brobecker2-22/+26
2007-10-31 * elfread.c (elf_symtab_read): When constructing a solib trampolineUlrich Weigand2-3/+28
minimal symbol from an undefined dynamic symbol, use proper section.
2007-10-31merge from gccDJ Delorie4-7/+31
2007-10-312007-10-31 Eric B. Weddington <eweddington@cso.atmel.com>Eric B. Weddington3-9/+11
* config/tc-avr.c (mcu_types): Remove devices that were never produced: attiny10, atmega83, atmega85, atmega603. * doc/c-avr.texi: Likewise.
2007-10-31Add cast to avoid compile time warningNick Clifton1-1/+1
2007-10-31* dwarf.c (is_relocatable): Remove definition.Nick Clifton7-61/+114
(display_debug_frames): Remove check in is_relocatable. * dwarf.h (is_relocatable): Remove declaration. * objdump.c (is_relocatable): New static definition. * readelf.c (dump_relocations): Make the function void. (is_32bit_abs_reloc): Add support for x86, Arc, Arm, D10V, Dlx, OR32 and Score. (is_32bit_pcrel_reloc): Add support for x86 and Arm. (is_16bit_abs_reloc): Add support for D10V. (debug_apply_rela_addends): Rename to debug_apply_relocations. Add code to support rel relocations. (load_debug_section): Fix call to debug_apply_relocations. (get_file_header): Remove setting of is_relocatable. * gas/cfi/cfi-common-6.d: Allow for possible relocation of the .debug.eh_frame section.
2007-10-312007-10-31 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-2/+8
* arm-linux-nat.c (fetch_register, fetch_regs): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-31* elf-m10300.c (mn10300_elf_relax_delete_bytes): Do not look for alignNick Clifton2-17/+25
relocs when there are no relocs attached to the section.
2007-10-31 * readelf.c (debug_apply_rela_addends): Clarify FIXME.Alan Modra2-8/+11
2007-10-31 * elf-bfd.h (bfd_elf_match_symbols_in_sections): Don't declare.Alan Modra3-20/+7
* elflink.c (bfd_elf_match_symbols_in_sections): Make static. Remove section name comparisons.
2007-10-31*** empty log message ***gdbadmin1-1/+1
2007-10-30daily updateAlan Modra1-1/+1
2007-10-30 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does notUlrich Weigand2-2/+9
provide DFP support.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-11/+23
* libunwind-frame.c (libunwind_frame_sniffer) libunwind_frame_prev_register, libunwind_sigtramp_frame_sniffer) (libunwind_frame_cache): Use get_frame_arch to get at the current architecture by frame_info. (libunwind_get_reg_special): Replace current_gdbarch by gdbarch.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+7
* iq2000-tdep.c (iq2000_frame_prev_register): Use get_frame_arch to get at the current architecture by frame_info.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+8
* inf-child.c (inf_child_fetch_inferior_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-10/+23
* inf-ptrace.c (inf_ptrace_fetch_registers) (inf_ptrace_fetch_register, inf_ptrace_store_register) (inf_ptrace_store_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-8/+17
* hpux-thread.c (hpux_thread_fetch_registers) (hpux_thread_store_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-4/+8
* hppa-tdep.c (hppa_frame_cache): Use get_frame_arch to get at the current architecture by frame_info.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-4/+12
* go32-nat.c (fetch_register, go32_fetch_registers, store_register) (go32_store_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-11/+14
* gdbtypes.c (gdbtypes_post_init): Replace current_gdbarch by gdbarch.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+6
* frv-linux-tdep.c (frv_linux_sigtramp_frame_cache): Use get_frame_arch to get at the current architecture by frame_info.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-10/+14
* f-lang.c (build_fortran_types): Replace current_gdbarch by gdbarch.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+6
* core-regset.c (fetch_core_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+6
* corelow.c (get_core_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-2/+8
* bsd-uthread.c (bsd_uthread_fetch_registers) (bsd_uthread_store_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-4/+9
* avr-tdep.c (avr_frame_unwind_cache, avr_frame_prev_register): Use get_frame_arch to get at the current architecture by frame_info.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+5
* arm-tdep.c (arm_get_next_pc): Replace current_gdbarch by gdbarch.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-10/+17
* armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register) (store_regs): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+6
* arm-linux-tdep.c (arm_linux_supply_gregset): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-2/+8
* alphabsd-nat.c (alphabsd_fetch_inferior_registers) (alphabsd_store_inferior_registers): Use get_regcache_arch to get at the current architecture by regcache.