OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
16 years ago*** empty log message ***
gdbadmin [Sun, 4 Nov 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sat, 3 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sat, 3 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Fri, 2 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * gdb.disasm/t01_mov.s: Remove carriage returns.
Doug Evans [Fri, 2 Nov 2007 20:33:12 +0000 (20:33 +0000)]
* gdb.disasm/t01_mov.s: Remove carriage returns.
* gdb.disasm/t02_mova.s: Ditto.
* gdb.disasm/t03_add.s: Ditto.
* gdb.disasm/t04_sub.s: Ditto.
* gdb.disasm/t05_cmp.s: Ditto.
* gdb.disasm/t06_ari2.s: Ditto.
* gdb.disasm/t07_ari3.s: Ditto.
* gdb.disasm/t08_or.s: Ditto.
* gdb.disasm/t09_xor.s: Ditto.
* gdb.disasm/t10_and.s: Ditto.
* gdb.disasm/t11_logs.s: Ditto.
* gdb.disasm/t12_bit.s: Ditto.
* gdb.disasm/t13_otr.s: Ditto.

16 years ago * gdbtypes.h (struct cplus_struct_type): Remove runtime_ptr member.
Ulrich Weigand [Fri, 2 Nov 2007 19:35:19 +0000 (19:35 +0000)]
* gdbtypes.h (struct cplus_struct_type): Remove runtime_ptr member.
(TYPE_RUNTIME_PTR, TYPE_VTABLE, TYPE_HAS_VTABLE,
TYPE_PRIMARY_BASE, TYPE_VIRTUAL_BASE_LIST): Remove macros.
(HP_ACC_VFUNC_START, HP_ACC_VBASE_START, HP_ACC_TYPEINFO_OFFSET,
HP_ACC_TOP_OFFSET_OFFSET): Likewise.
(has_vtable, primary_base_class, virtual_base_list_length,
virtual_base_list_length_skip_primaries, virtual_base_index,
virtual_base_index_skip_primaries, class_index_in_primary_list,
count_virtual_fns): Remove prototypes.
* gdbtypes.c (has_vtable, primary_base_class, current_vbase_list,
virtual_base_list_aux, virtual_base_list, virtual_base_list_length,
virtual_base_list_length_skip_primaries, virtual_base_index,
virtual_base_index_skip_primaries, class_index_in_primary_list,
count_virtual_fns): Remove.

* cp-valprint.c (cp_print_hpacc_virtual_table_entries): Remove.
(hpacc_vtbl_ptr_name, hpacc_vtbl_ptr_type_name): Remove.
(cp_print_value_fields): Remove support for HP aCC vtables.
(cp_print_value): Likewise.
* c-typeprint.c (c_type_print_base): Likewise.

* value.h (find_rt_vbase_offset): Remove prototype.
* valops.c (find_rt_vbase_offset): Remove.
(search_struct_method): Remove support for HP aCC vtables.
(find_method_list): Likewise.

16 years ago * language.h (struct language_defn): Remove la_builtin_type_vector
Ulrich Weigand [Fri, 2 Nov 2007 19:34:11 +0000 (19:34 +0000)]
* language.h (struct language_defn): Remove la_builtin_type_vector
and string_char_type members.
* language.c (language_string_char_type): No longer consult
la->string_char_type.
(language_lookup_primitive_type_by_name): No longer consult
current_language->la_builtin_type_vector.

* language.c (unknown_language_defn, auto_language_defn,
local_language_defn): Adapt initializer.
* ada-lang.c (ada_language_defn): Likewise.
* c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn,
minimal_language_defn): Likewise.
* f-lang.c (f_language_defn): Likewise.
* jv-lang.c (java_language_defn): Likewise.
* m2-lang.c (m2_language_defn): Likewise.
* objc-lang.c (objc_language_defn): Likewise.
* p-lang.c (pascal_language_defn): Likewise.
* scm-lang.c (scm_language_defn): Likewise.

16 years ago2007-11-02 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Fri, 2 Nov 2007 14:47:28 +0000 (14:47 +0000)]
2007-11-02  Markus Deuling  <deuling@de.ibm.com>

* 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.

16 years ago2007-11-02 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Fri, 2 Nov 2007 14:27:15 +0000 (14:27 +0000)]
2007-11-02  Markus Deuling  <deuling@de.ibm.com>

* 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.

16 years ago*** empty log message ***
gdbadmin [Fri, 2 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 1 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * linux-low.c (linux_tracefork_grandchild): New.
Daniel Jacobowitz [Thu, 1 Nov 2007 19:19:39 +0000 (19:19 +0000)]
* linux-low.c (linux_tracefork_grandchild): New.
(linux_tracefork_child): Use clone.
(linux_test_for_tracefork): Use clone; allocate and free a stack.

16 years agogas/
H.J. Lu [Thu, 1 Nov 2007 19:06:54 +0000 (19:06 +0000)]
gas/

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.

16 years ago * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
Jan Kratochvil [Thu, 1 Nov 2007 17:34:57 +0000 (17:34 +0000)]
* gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.

16 years agogas/
H.J. Lu [Thu, 1 Nov 2007 16:27:06 +0000 (16:27 +0000)]
gas/

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.

16 years agobfd: sid-snapshot-20071101
Joseph Myers [Thu, 1 Nov 2007 11:45:20 +0000 (11:45 +0000)]
bfd:
* 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.

16 years ago*** empty log message ***
gdbadmin [Thu, 1 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Fall back to
Ulrich Weigand [Wed, 31 Oct 2007 23:45:10 +0000 (23:45 +0000)]
* ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Fall back to
find_solib_trampoline_target if PC is not in .plt section.

16 years ago2007-10-31 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 31 Oct 2007 23:41:12 +0000 (23:41 +0000)]
2007-10-31  H.J. Lu  <hongjiu.lu@intel.com>

* 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.

16 years agodaily update
Alan Modra [Wed, 31 Oct 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * Makefile.in: Use $(SHELL) instead of "sh" to call regdat.sh.
Joel Brobecker [Wed, 31 Oct 2007 21:39:14 +0000 (21:39 +0000)]
    * Makefile.in: Use $(SHELL) instead of "sh" to call regdat.sh.

16 years ago * elfread.c (elf_symtab_read): When constructing a solib trampoline
Ulrich Weigand [Wed, 31 Oct 2007 19:09:14 +0000 (19:09 +0000)]
* elfread.c (elf_symtab_read): When constructing a solib trampoline
minimal symbol from an undefined dynamic symbol, use proper section.

16 years agomerge from gcc
DJ Delorie [Wed, 31 Oct 2007 18:37:19 +0000 (18:37 +0000)]
merge from gcc

16 years ago2007-10-31 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Wed, 31 Oct 2007 14:15:49 +0000 (14:15 +0000)]
2007-10-31  Markus Deuling  <deuling@de.ibm.com>

* arm-linux-nat.c (fetch_register, fetch_regs): Use get_regcache_arch
to get at the current architecture by regcache.

16 years ago* elf-m10300.c (mn10300_elf_relax_delete_bytes): Do not look for align
Nick Clifton [Wed, 31 Oct 2007 11:33:27 +0000 (11:33 +0000)]
* elf-m10300.c (mn10300_elf_relax_delete_bytes): Do not look for align
  relocs when there are no relocs attached to the section.

16 years ago * elf-bfd.h (bfd_elf_match_symbols_in_sections): Don't declare.
Alan Modra [Wed, 31 Oct 2007 07:36:46 +0000 (07:36 +0000)]
* elf-bfd.h (bfd_elf_match_symbols_in_sections): Don't declare.
* elflink.c (bfd_elf_match_symbols_in_sections): Make static.
Remove section name comparisons.

16 years ago*** empty log message ***
gdbadmin [Wed, 31 Oct 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Tue, 30 Oct 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
Ulrich Weigand [Tue, 30 Oct 2007 22:29:06 +0000 (22:29 +0000)]
* gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
provide DFP support.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 22:00:29 +0000 (22:00 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* 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.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 21:59:43 +0000 (21:59 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* iq2000-tdep.c (iq2000_frame_prev_register): Use get_frame_arch to get
at the current architecture by frame_info.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 21:58:58 +0000 (21:58 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* inf-child.c (inf_child_fetch_inferior_registers): Use
get_regcache_arch to get at the current architecture by regcache.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 21:58:01 +0000 (21:58 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* 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.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 21:57:04 +0000 (21:57 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* hpux-thread.c (hpux_thread_fetch_registers)
(hpux_thread_store_registers): Use get_regcache_arch to get at the
current architecture by regcache.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 21:56:12 +0000 (21:56 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* hppa-tdep.c (hppa_frame_cache): Use get_frame_arch to get at the
current architecture by frame_info.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 21:54:06 +0000 (21:54 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* 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.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 21:53:18 +0000 (21:53 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* gdbtypes.c (gdbtypes_post_init): Replace current_gdbarch by gdbarch.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 21:52:26 +0000 (21:52 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* frv-linux-tdep.c (frv_linux_sigtramp_frame_cache): Use get_frame_arch
to get at the current architecture by frame_info.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 21:51:34 +0000 (21:51 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* f-lang.c (build_fortran_types): Replace current_gdbarch by gdbarch.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 21:50:46 +0000 (21:50 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* core-regset.c (fetch_core_registers): Use get_regcache_arch to get at
the current architecture by regcache.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 21:46:25 +0000 (21:46 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* corelow.c (get_core_registers): Use get_regcache_arch to get at the
current architecture by regcache.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 21:45:17 +0000 (21:45 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* bsd-uthread.c (bsd_uthread_fetch_registers)
(bsd_uthread_store_registers): Use get_regcache_arch to get at the
current architecture by regcache.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 21:44:20 +0000 (21:44 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* avr-tdep.c (avr_frame_unwind_cache, avr_frame_prev_register): Use
get_frame_arch to get at the current architecture by frame_info.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 21:43:33 +0000 (21:43 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* arm-tdep.c (arm_get_next_pc): Replace current_gdbarch by gdbarch.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 21:42:22 +0000 (21:42 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register)
(store_regs): Use get_regcache_arch to get at the current architecture
by regcache.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 21:41:21 +0000 (21:41 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* arm-linux-tdep.c (arm_linux_supply_gregset): Use get_regcache_arch
to get at the current architecture by regcache.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 21:40:23 +0000 (21:40 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* alphabsd-nat.c (alphabsd_fetch_inferior_registers)
(alphabsd_store_inferior_registers): Use get_regcache_arch to get at
the current architecture by regcache.

16 years ago2007-10-30 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Tue, 30 Oct 2007 21:39:15 +0000 (21:39 +0000)]
2007-10-30  Markus Deuling  <deuling@de.ibm.com>

* ada-lang.c (ada_language_arch_info): Replace current_gdbarch by
gdbarch.

16 years ago * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Check the selected
Daniel Jacobowitz [Tue, 30 Oct 2007 19:35:35 +0000 (19:35 +0000)]
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Check the selected
soft float and vector ABIs.  Support the generic vector ABI for
AltiVec types.
(do_ppc_sysv_return_value): Likewise.  Correct argument types and
casts.
(ppc64_sysv_abi_push_dummy_call): Assert that floating point is
supported.
* ppc-tdep.h (enum powerpc_vector_abi): New.
(struct gdbarch_tdep): Add soft_float and vector_abi.
* rs6000-tdep.c (setpowerpccmdlist, showpowerpccmdlist)
(powerpc_soft_float_global, powerpc_vector_strings)
(powerpc_vector_abi_global, powerpc_vector_abi_string): New.
(rs6000_gdbarch_init): Check for soft-float and vector ABI markings.
(set_powerpc_command, show_powerpc_command, powerpc_set_soft_float)
(powerpc_set_vector_abi): New.
(_initialize_rs6000_tdep): Register "set powerpc" and "show powerpc"
commands.
* Makefile.in (elf_ppc_h): New.
(rs6000-tdep.o): Update.

* gdb.texinfo (PowerPC): Document "set powerpc vector-abi" and "set
powerpc soft-float".

* gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
Test "set powerpc vector-abi".  Skip auto-detection tests for old
toolchains.

16 years ago * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
Pedro Alves [Tue, 30 Oct 2007 19:23:18 +0000 (19:23 +0000)]
* lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
with [string compare].

16 years ago * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
Pedro Alves [Tue, 30 Oct 2007 19:16:44 +0000 (19:16 +0000)]
* gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
* gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.

16 years ago* mn10300.h (R_MN10300_ALIGN): Define.
Nick Clifton [Tue, 30 Oct 2007 15:18:29 +0000 (15:18 +0000)]
* mn10300.h (R_MN10300_ALIGN): Define.
* reloc.c (BFD_RELOC_MN10300_ALIGN): Add.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* elf-m10300.h: Handle R_MN10300_ALIGN relocs.
* mn10300_elf_relax_delete_bytes): Honour R_MN10300_ALIGN relocs.
  Re-fix off by one error in comparisons.
* config/tc-mn10300.c (tc_gen_reloc): Fix test that decides when
  sym_diff relocs should be generated.
  (md_apply_fix): Skip R_MN10300_ALIGN relocs.
  (mn10300_fix_adjustable): Do not adjust R_MN10300_ALIGN relocs.
  (mn10300_handle_align): New function.  Generate R_MN10300_ALIGN
  relocs to record alignment requests.
* config/tc-mn10300.h (TC_FORCE_RELOCATION_SUB_SAME): Also force
  R_MN10300_ALIGN relocs.
  (HANDLE_ALIGN): Define.  Call mn10300_handle_align.
* gas/all/gas.exp: Do not run diff1.s test for mn10300.
* ld-mn10300/mn10300.exp: Run new tests.  Skip i126256 test if
  a compiler is not available.
* ld-mn10300/i112045-3.s: New test.
* ld-mn10300/i112045-3.d: Expected disassembly.
* ld-mn10300/i135409.s: Rename to i135409-1.s.
* ld-mn10300/i135409.d: Rename to i135409-1.d
* ld-mn10300/i135409-2.s: New test.
* ld-mn10300/i135409-2.d: Expected symbol table.
* ld-mn10300/i36434.d: Adjust expected disassembly.

16 years ago*** empty log message ***
gdbadmin [Tue, 30 Oct 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Mon, 29 Oct 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * ppc-linux-tdep.c (ppc32_linux_reg_offsets): Corrected
Carlos Eduardo Seo [Mon, 29 Oct 2007 20:26:42 +0000 (20:26 +0000)]
* ppc-linux-tdep.c (ppc32_linux_reg_offsets): Corrected
swapped offsets and VRSAVE offset.
(ppc64_linux_reg_offsets): Corrected swapped offsets.
(ppc32_linux_vrregset): Added.
(ppc_linux_regset_from_core_section): Added support for
.reg-ppc-vmx section.
* ppc-tdep.h (ppc_altivec_support_p): Declare.
(ppc_supply_vrregset): Declare.
(ppc_collect_vrregset): Declare.
* rs6000-tdep.c (ppc_altivec_support_p): Added.
(ppc_supply_vrregset): Added.
(ppc_collect_vrregset): Added.
* corelow.c (get_core_registers): Added support for
.reg-ppc-vmx section.

16 years agoGDB 6.7.1 released.
gdbadmin [Mon, 29 Oct 2007 19:15:27 +0000 (19:15 +0000)]
GDB 6.7.1 released.

16 years ago*** empty log message ***
gdbadmin [Mon, 29 Oct 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sun, 28 Oct 2007 23:00:04 +0000 (23:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sun, 28 Oct 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sat, 27 Oct 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago* ax-gdb.h (expr_to_address_and_size): Delete declaration for
Jim Blandy [Sat, 27 Oct 2007 01:31:46 +0000 (01:31 +0000)]
* ax-gdb.h (expr_to_address_and_size): Delete declaration for
deleted function.

16 years ago* tracepoint.c (tracepoint_operation): Report the deletion event
Jim Blandy [Sat, 27 Oct 2007 00:34:48 +0000 (00:34 +0000)]
* tracepoint.c (tracepoint_operation): Report the deletion event
after we have unlinked the tracepoint from the list, and use the
proper tracepoint number.

16 years ago*** empty log message ***
gdbadmin [Sat, 27 Oct 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sat, 27 Oct 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago* ax-gdb.c (expr_to_agent): Delete unused function.
Jim Blandy [Fri, 26 Oct 2007 23:42:28 +0000 (23:42 +0000)]
* ax-gdb.c (expr_to_agent): Delete unused function.
(expr_to_address_and_size): Delete #if 0'd function.
* ax-gdb.h (expr_to_agent): Delete declaration.

16 years ago* ax-gdb.c (gen_cast): Remove redundant assignment to
Jim Blandy [Fri, 26 Oct 2007 23:07:26 +0000 (23:07 +0000)]
* ax-gdb.c (gen_cast): Remove redundant assignment to
value->type.  Doc fix.

16 years ago* ax-general.c (gen_traced_pop, gen_int_literal)
Jim Blandy [Fri, 26 Oct 2007 23:04:57 +0000 (23:04 +0000)]
* ax-general.c (gen_traced_pop, gen_int_literal)
(gen_usual_arithmetic): Check for typedefs.

16 years ago * parse.c (prefixify_expression): Minor reformatting.
Joel Brobecker [Fri, 26 Oct 2007 22:13:41 +0000 (22:13 +0000)]
    * parse.c (prefixify_expression): Minor reformatting.

16 years ago2007-10-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 26 Oct 2007 20:48:09 +0000 (20:48 +0000)]
2007-10-26  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New.
(MOD_0F51): Likewise.
(MOD_0FD7): Likewise.
(MOD_0FE7_PREFIX_2): Likewise.
(MOD_0F382A_PREFIX_2): Likewise.
(MOD_0F71_REG_2): Updated.
(MOD_0FF0_PREFIX_3): Likewise.
(MOD_62_32BIT): Likewise.
(dis386_twobyte): Use MOD_0F51 and  MOD_0FD7.
(prefix_table): Use MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
MOD_0FE7_PREFIX_2 and MOD_0F382A_PREFIX_2.
(mod_table): Add MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
MOD_0F51, MOD_0FD7 and MOD_0F382A_PREFIX_2.

16 years ago* arm-dis.c (print_insn): Check for a symtab that exists but is empty.
Nick Clifton [Fri, 26 Oct 2007 11:27:12 +0000 (11:27 +0000)]
* arm-dis.c (print_insn): Check for a symtab that exists but is empty.

16 years ago*** empty log message ***
gdbadmin [Fri, 26 Oct 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Fri, 26 Oct 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago * version.in: Use dot instead of dash.
Daniel Jacobowitz [Thu, 25 Oct 2007 22:37:20 +0000 (22:37 +0000)]
* version.in: Use dot instead of dash.

16 years ago * linux-thread-db.c (check_for_thread_db): Only print if info_verbose.
Daniel Jacobowitz [Thu, 25 Oct 2007 22:09:34 +0000 (22:09 +0000)]
* linux-thread-db.c (check_for_thread_db): Only print if info_verbose.

16 years ago * memory-map.c (parse_memory_map): Don't use an empty struct
Pedro Alves [Thu, 25 Oct 2007 21:43:42 +0000 (21:43 +0000)]
* memory-map.c (parse_memory_map): Don't use an empty struct
initializer.

16 years ago * signals/signals.c (signals): Update pointer to enum
Pedro Alves [Thu, 25 Oct 2007 21:16:57 +0000 (21:16 +0000)]
* signals/signals.c (signals): Update pointer to enum
target_signal declaration.

16 years ago bfd/
Pedro Alves [Thu, 25 Oct 2007 21:01:55 +0000 (21:01 +0000)]
bfd/
* bfd-in.h (STRING_COMMA_LEN): Don't handle NULL STR case.
* bfd-in2.h: Regenerate.

ld/
* pe-dll.c (autofilter_symbollist_generic)
(autofilter_symbollist_i386, autofilter_liblist)
(autofilter_objlist, autofilter_symbolprefixlist)
(autofilter_symbolsuffixlist): Don't use STRING_COMMA_LEN with
NULL.

16 years ago * dwarf2read.c (read_partial_die): check the value
Carlos Eduardo Seo [Thu, 25 Oct 2007 20:54:27 +0000 (20:54 +0000)]
* dwarf2read.c (read_partial_die): check the value
of DW_AT_calling_convention in Fortran programs.

16 years ago * gdb.opt/clobbered-registers-O2.c: New testcase source file.
Luis Machado [Thu, 25 Oct 2007 20:30:26 +0000 (20:30 +0000)]
    * gdb.opt/clobbered-registers-O2.c: New testcase source file.
        * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
        * gdb.opt/Makefile.in: New makefile.
        * Makefile.in: Create new directory "gdb.opt".
        * configure.ac: Add "gdb.opt" directory.
        * configure: Regenerated.

16 years agoadd myself
Doug Evans [Thu, 25 Oct 2007 18:38:05 +0000 (18:38 +0000)]
add myself

16 years ago * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
Doug Evans [Thu, 25 Oct 2007 18:33:56 +0000 (18:33 +0000)]
* gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
* gdb.cp/mb-templates.exp: Check skip_cplus_tests.

16 years ago2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
Thiago Jung Bauermann [Thu, 25 Oct 2007 18:09:45 +0000 (18:09 +0000)]
2007-10-15  Wu Zhou  <woodzltc@cn.ibm.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>

* gdb.base/dfp-exprs.exp: new file adding tests for Decimal
Floating Point expressions.
* gdb.base/dfp-test.exp: new file adding tests for Decimal
Floating Point variables.
* gdb.base/dfp-test.c: new file containing program with Decimal
Floating variables, used by gdb.base/dfp-test.exp.

16 years ago2007-10-25 Wu Zhou <woodzltc@cn.ibm.com>
Thiago Jung Bauermann [Thu, 25 Oct 2007 18:01:58 +0000 (18:01 +0000)]
2007-10-25  Wu Zhou  <woodzltc@cn.ibm.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>

* c-exp.y (YYSTYPE): Add typed_val_decfloat for decimal
floating point in YYSTYPE union.
(DECFLOAT) Add token and expression element handling code.
(parse_number): Parse DFP constants, which end with suffix 'df',
'dd' or 'dl'.  Return DECFLOAT.
* eval.c (evaluate_subexp_standard): Call value_from_decfloat to
handle OP_DECFLOAT.
* expression.h (enum exp_opcode): Add an opcode (OP_DECFLOAT)
for DFP constants.
(union exp_element): Add decfloatconst to represent DFP
elements, which is 16 bytes by default.
* parse.c (write_exp_elt_decfloatcst): New function to write a
decimal float const into the expression.
(operator_length_standard): Set operator length for OP_DECFLOAT
to 4.
* parser-defs.h (write_exp_elt_decfloatcst): Prototype.
* valarith.c (value_neg): Add code to handle the negation
operation of DFP values.
* value.c (value_from_decfloat): New function to get the value
from a decimal floating point.
* value.h (value_from_decfloat): Prototype.

16 years ago2007-10-25 Wu Zhou <woodzltc@cn.ibm.com>
Thiago Jung Bauermann [Thu, 25 Oct 2007 17:57:34 +0000 (17:57 +0000)]
2007-10-25  Wu Zhou  <woodzltc@cn.ibm.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>

* c-lang.c (c_create_fundamental_type): Create fundamental
types for DFP.
* c-typeprint.c (c_type_print_varspec_prefix): Add
TYPE_CODE_DECFLOAT to no prefix needed case.
(c_type_print_varspec_suffix): Add TYPE_CODE_DECFLOAT to no
suffix needed case.
* c-valprint.c (c_val_print): Call print_decimal_floating to
print DFP values.
* dwarf2read.c (read_base_type): Read DW_ATE_decimal_float
attribute code and return TYPE_CODE_DECFLOAT.
(dwarf_base_type): Set dwarf2_fundamental_type for DFP values.
* gdbtypes.c (gdbtypes_post_init): Initialize builtin_decfloat,
builtin_decdouble and builtin_declong.
* gdbtypes.h (enum type_code): Add TYPE_CODE_DECFLOAT as a
type code for DFP.
(FT_DECFLOAT, FT_DBL_PREC_DECFLOAT, FT_EXT_PREC_DECFLOAT): New
types, for decimal floating point.
(FT_NUM_MEMBERS):  Increment, new types added.
(struct builtin_type): Add builtin_decfloat, builtin_decdouble
and builtin_declong.
* valprint.c (print_decimal_floating): New function to print DFP
values.
* value.h (print_decimal_floating): Prototype.

16 years ago2007-10-25 Wu Zhou <woodzltc@cn.ibm.com>
Thiago Jung Bauermann [Thu, 25 Oct 2007 17:52:32 +0000 (17:52 +0000)]
2007-10-25  Wu Zhou  <woodzltc@cn.ibm.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>

* Makefile.in (LIBDECNUMBER_DIR, LIBDECNUMBER, LIBDECNUMBER_SRC
LIBDECNUMBER_CFLAGS): New macros for libdecnumber.
(INTERNAL_CFLAGS_BASE): Add LIBDECNUMBER_CFLAGS in.
(INSTALLED_LIBS): Add -ldecnumber in.
(CLIBS): Add LIBDECNUMBER in.
(decimal128_h, decimal64_h, decimal32_h): New macros for decimal
headers.
(dfp_h): New macros for decimal floating point.
(dfp.o): New target.
(COMMON_OBS): Add dfp.o in.
(c-exp.o): Add dfp_h as dependency.
(valprint.o): Add dfp_h as dependency.
(value.o): Add dfp_h as dependency.
* dfp.h: New header file for decimal floating point support in
GDB.
* dfp.c: New source file for decimal floating point support in
GDB.  Implement decimal_from_string and decimal_to_string based
on libdecnumber API.
* configure.ac: Add AC_C_BIGENDIAN test.
* config.in, configure: Regenerate.

16 years ago * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for
Daniel Jacobowitz [Thu, 25 Oct 2007 15:20:24 +0000 (15:20 +0000)]
* elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for
Tag_GNU_Power_ABI_Vector.

* readelf.c (display_power_gnu_attribute): Add support for
Tag_GNU_Power_ABI_Vector.

* ppc.h (Tag_GNU_Power_ABI_Vector): New.

* ld-powerpc/attr-gnu-8-1.s, ld-powerpc/attr-gnu-8-11.d,
ld-powerpc/attr-gnu-8-2.s, ld-powerpc/attr-gnu-8-23.d,
ld-powerpc/attr-gnu-8-3.s, ld-powerpc/attr-gnu-8-31.d: New.
* ld-powerpc/powerpc.exp: Run new tests.

16 years ago * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Do not add
Joseph Myers [Thu, 25 Oct 2007 11:38:30 +0000 (11:38 +0000)]
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Do not add
PT_NULL header when not linking.

16 years agoPR exp/1926
Maciej W. Rozycki [Thu, 25 Oct 2007 11:30:55 +0000 (11:30 +0000)]
PR exp/1926
* infcmd.c (registers_info): Check for a user register before
calling target's gdbarch_print_registers_info().  If found to be
so, extract the implicit value of user register and call
print_scalar_formatted().
* Makefile.in: (infcmd.o): Add $(user_regs_h).

16 years ago * NEWS: Document status of hppa64-hpux support.
Joel Brobecker [Thu, 25 Oct 2007 05:57:58 +0000 (05:57 +0000)]
    * NEWS: Document status of hppa64-hpux support.

16 years ago * elf.c (elfcore_grok_ppc_vmx): New function.
Alan Modra [Thu, 25 Oct 2007 00:40:34 +0000 (00:40 +0000)]
* elf.c (elfcore_grok_ppc_vmx): New function.
(elfcore_grok_note): Handle NT_PPC_VMX.
(elfcore_write_ppc_vmx): New function.
* elf-bfd.h (elfcore_write_ppc_vmx): Declare.

16 years agodaily update
Alan Modra [Thu, 25 Oct 2007 00:00:04 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Thu, 25 Oct 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets): Call
Ulrich Weigand [Wed, 24 Oct 2007 21:22:08 +0000 (21:22 +0000)]
* solib-svr4.c (set_solib_svr4_fetch_link_map_offsets): Call
set_solib_ops to install SVR4 operations.
(_initialize_svr4_solib): Do not set current_target_so_ops.

* config/i386/i386gnu.mh (NATDEPFILES): Move solib.o, solib-svr4.o ...
* config/i386/i386gnu.mt (TDEPFILES): ... to here.

16 years ago * solib-svr4.c (legacy_svr4_fetch_link_map_offsets_hook): Remove.
Ulrich Weigand [Wed, 24 Oct 2007 21:21:16 +0000 (21:21 +0000)]
* solib-svr4.c (legacy_svr4_fetch_link_map_offsets_hook): Remove.
(solib_svr4_init): Initialize fetch_link_map_offsets to NULL.
* solib-svr4.h (legacy_svr4_fetch_link_map_offsets_hook): Remove.
* solib-legacy.c: Remove file.

* config/alpha/alpha-linux.mt (TDEPFILES): Remove solib-legacy.o.
* config/arm/linux.mt (TDEPFILES): Likewise.
* config/i386/i386gnu.mh (NATDEPFILES): Likewise.
* config/ia64/linux.mt (TDEPFILES): Likewise.
* config/m32r/linux.mt (TDEPFILES): Likewise.
* config/powerpc/linux.mt (TDEPFILES): Likewise.
* config/s390/s390.mt (TDEPFILES): Likewise.

* alpha-linux-tdep.c (alpha_linux_init_abi): Call
set_solib_svr4_fetch_link_map_offsets.
* i386gnu-tdep.c (i386gnu_init_abi): Likewise.
* ia64-linux-tdep.c (ia64_linux_init_abi): Likewise.

* i386gnu-tdep.c: Include "solib-svr4.h".
* Makefile.in: Update dependencies.

16 years ago * i386-nto-tdep.c: Include "solib.h".
Ulrich Weigand [Wed, 24 Oct 2007 21:18:52 +0000 (21:18 +0000)]
* i386-nto-tdep.c: Include "solib.h".
(i386nto_init_abi): Use set_solib_ops instead of overwriting
current_target_so_ops members.
* solist.h (TARGET_SO_RELOCATE_SECTION_ADDRESSES): Remove.
(TARGET_SO_FIND_AND_OPEN_SOLIB): Remove.
(TARGET_SO_IN_DYNSYM_RESOLVE_CODE): Remove.
* Makefile.in: Update dependencies.

16 years agoFix last commit.
Ulrich Weigand [Wed, 24 Oct 2007 21:18:19 +0000 (21:18 +0000)]
Fix last commit.

16 years ago * arm-wince-tdep.c: Include "solib.h" and "solib-target.h".
Ulrich Weigand [Wed, 24 Oct 2007 21:16:30 +0000 (21:16 +0000)]
* arm-wince-tdep.c: Include "solib.h" and "solib-target.h".
(arm_wince_init_abi): Call set_solib_ops.
* i386-cygwin-tdep.c: Include "solib.h" and "solib-target.h".
(i386_cygwin_init_abi): Call set_solib_ops.
* solib-target.c: Include "solib-target.h".
(solib_target_so_ops): Make global.
(_initialize_solib_target): Do not set current_target_so_ops.
* solib-target.h: New file.
* Makefile.in: Update dependencies.

16 years ago * mips-irix-tdep.c: Include "gdb_string.h", "solib.h", "solib-irix.h".
Ulrich Weigand [Wed, 24 Oct 2007 21:15:35 +0000 (21:15 +0000)]
* mips-irix-tdep.c: Include "gdb_string.h", "solib.h", "solib-irix.h".
(mips_irix_init_abi): Call set_solib_ops.
* solib-irix.c: Include "solib.h" and "solib-irix.h".
(irix_so_ops): Make global.
(_initialize_irix_solib): Do not set current_target_so_ops.
* solib-irix.h: New file.
* Makefile.in: Update dependencies.

16 years ago * configure.tgt: Remove hppa*64*-*-hpux11* special case.
Ulrich Weigand [Wed, 24 Oct 2007 21:14:17 +0000 (21:14 +0000)]
* configure.tgt: Remove hppa*64*-*-hpux11* special case.
* config/pa/hppa64.mt: Delete file.
* config/pa/hppahpux.mt (MT_CFLAGS): Remove.
(TDEPFILES): Move somread.o to ...
* config/pa/hpux.mh (NATDEPFILES): ... here.

* configure.ac: Add check for elf_hp.h header.
Search libdl and libxpdl for dlgetmodinfo.
* config.in, configure: Regenerate.
* solib-pa64.c: Conditionalize compilation on #ifdef HAVE_ELF_HP_H
instead of #ifndef PA_SOM_ONLY.  Include "solib.h".
(pa64_solib_select): Take gdbarch instead of tdep argument.  Call
set_solib_ops instead of modifying current_target_so_ops.
* solib-pa64.h (pa64_solib_select): Update prototype.
* solib-som.c: Remove include of "som.h".  Include "solib.h".
(som_solib_select): Take gdbarch instead of tdep argument.  Call
set_solib_ops instead of modifying current_target_so_ops.
* solib-som.h (som_solib_select): Update prototype.
* hppa-hpux-tdep.c (hppa_hpux_som_init_abi): Pass gdbarch instead
of tdep to som_solib_select call.
(hppa_hpux_elf_init_abi): Pass gdbarch instead of tdep to
pa64_solib_select call.
* Makefile.in: Update dependencies.

16 years ago * frv-tdep.c: Include "solib.h".
Ulrich Weigand [Wed, 24 Oct 2007 21:08:23 +0000 (21:08 +0000)]
* frv-tdep.c: Include "solib.h".
(frv_gdbarch_init): Call set_solib_ops.
* frv-tdep.h (struct target_so_ops): Add forward reference.
(frv_so_ops): Add extern declaration.
* solib-frv.c (frv_so_ops): Make global.
(_initialize_frv_solib): Do not set current_target_so_ops.
* Makefile.in: Update dependencies.