aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
2004-05-02Move the symbol-file-from-memory functions into their own file.Jim Blandy1-1/+1
* symfile-mem.c, symfile-mem.h: New files. * symfile.c (symbol_file_add_from_bfd): New function. (symbol_file_add): Call symbol_file_add_from_bfd. (symbol_file_add_from_memory, add_symbol_file_from_memory_command): Moved to symfile-mem.c. (_initialize_symfile): Move definition of add-symbol-file-from-memory command to symfile-mem.c. * symfile.h (symbol_file_add_from_bfd): New declaration. * config/i386/linux.mt (TDEPFILES): Add symfile-mem.o. * config/powerpc/linux.mt (TDEPFILES): Same. * Makefile.in (SFILES): Add symfile-mem.c. (symfile_mem_h): New variable. (HFILES_NO_SRCDIR): Add symfile-mem.h. (symfile-mem.o): New rule.
2004-05-012004-05-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-7/+9
* gdbarch.sh (DEPRECATED_SIGTRAMP_START) (DEPRECATED_SIGTRAMP_END): Delete. * gdbarch.h, gdbarch.c: Re-generate. * arch-utils.c (legacy_pc_in_sigtramp): Simplify. * config/vax/tm-vaxbsd.h: Update copyright. (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete. (DEPRECATED_IN_SIGTRAMP): Define. * config/m68k/tm-nbsd.h: Update copyright. (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete. (DEPRECATED_IN_SIGTRAMP): Define.
2004-05-012004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-4/+0
* mips-tdep.c (mips_pc_in_sigtramp): Delete. (mips_gdbarch_init): Do not set pc_in_sigtramp. * mipsread.c (sigtramp_address): Delete extern variable. (mipscoff_new_init): Delete reference. * mdebugread.c (sigtramp_address, sigtramp_end): Delete variables. (fixup_sigtramp): Delete function. * config/mips/tm-mips.h (sigtramp_address, sigtramp_end) (fixup_sigtramp): Delete declarations.
2004-04-30* config/m68k/nm-nbsd.h: Tweak comments.Mark Kettenis2-8/+10
* config/m68k/nm-nbsdaout.h: Likewise.
2004-04-30Add OpenBSD/m68k support.Mark Kettenis4-0/+36
* NEWS (New native configurations): Mention OpenBSD/m68k. * m68kbsd-tdep.c: New file. * m68kbsd-nat.c: New file. * Makefile.in (ALLDEPFILES): Add m68kbsd-nat.c and m68kbsd-tdep.c. (m68kbsd-nat.o, m68kbsd-tdep.o): New dependencies. * configure.host: Add m68k-*-openbsd. * configure.tgt: Add m68k-*-openbsd. * config/m68k/tm-obsd.h: New file. * config/m68k/obsd.mt: New file. * config/m68k/obsd.mh: New file. * config/djgpp/fnchange.lst: Add entries for m68kbsd-nat.c and m68kbsd-tdep.c.
2004-04-30* m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define.Mark Kettenis1-1/+0
* config/m68k/tm-nbsd.h (REMOTE_BPT_VECTOR): Remove define.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-19/+0
* config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Delete. * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Delete. * config/mips/tm-nbsd.h: Delete undef DEPRECATED_IN_SIGTRAMP. * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Delete. * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Delete.
2004-04-292004-04-24 Randolph Chung <tausq@debian.org>Randolph Chung6-0/+79
* configure.host (hppa*-*-linux*): New target. * configure.tgt (hppa*-*-linux*): Likewise. * hppa-tdep.c (hppa_gdbarch_init): Set cannot_fetch_register, move gdbarch_init_osabi() call earlier so that osabi-specific frame unwinders can be registered first. * config/djgpp/fnchange.lst: Add entries for hppa-linux-tdep.c and hppa-linux-nat.c. * config/pa/tm-hppa.h (ISR_REGNUM, PID0_REGNUM, PID1_REGNUM) (PID2_REGNUM, PID3_REGNUM): Add definitions of some register numbers. * config/pa/linux.mh: New file. * config/pa/linux.mt: New file. * config/pa/nm-linux.h: New file. * config/pa/xm-linux.h: New file. * hppa-linux-nat.c: New file. * hppa-linux-tdep.c: New file.
2004-04-22Add OpenBSD/powerpc support.Mark Kettenis3-0/+35
* NEWS (New native configurations): Mention OpenBSD/powerpc. * ppc-tdep.h (struct ppc_reg_offsets): New structure. (ppc_supply_gregset, ppc_supply_fpregset, ppc_collect_gregset) (ppc_collect_fpregset): New prototypes. * ppcobsd-nat.c: New file. * ppcobsd-tdep.c: New file. * ppcobsd-tdep.h: New file. * rs6000-tdep.c: Include "regset.h". (ppc_supply_reg, ppc_collect_reg, ppc_supply_gregset) (ppc_supply_fpregset, ppc_collect_gregset, ppc_collect_fpregset): New functions. * Makefile.in (ALLDEPFILES): Add pccobsd-nat.c and ppcobsd-tdep.c. (ppcobsd-nat.o, ppcobsd-tdep.o): New dependencies. (rs6000-tdep.o): Update dependencies. * configure.host: Add powerpc-*-openbsd. * configure.tgt: Add powerpc-*-openbsd. * config/powerpc/obsd.mh: New file. * config/powerpc/nm-obsd.h: New file. * config/powerpc/obsd.mt: New file.
2004-04-172004-04-17 Randolph Chung <tausq@debian.org>Randolph Chung1-10/+0
* hppa-tdep.c (hppa_pseudo_register_read): Define. (hppa_gdbarch_init): Set pseudo_register_read. * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Remove. * regcache.c (supply_register): Remove check for DEPRECATED_CLEAN_UP_REGISTER_VALUE since we've removed the last user.
2004-04-172004-04-17 Randolph Chung <tausq@debian.org>Randolph Chung1-118/+0
* Makefile.in (hpread.o, pa64solib.o, somsolib.o): Add $(hppa_tdep_h) * hppa-tdep.c (hppa_objfile_priv_data): New. (SR4EXPORT_LDIL_OFFSET, SR4EXPORT_LDO_OFFSET): Use HPPA_INSTRUCTION_SIZE. (read_unwind_info): Use objfile_data to reference unwind info. (find_unwind_entry): Likewise. (hpread_adjust_stack_address): Move to hpread.c. (_initialize_hppa_tdep): Register hppa objfile data. * hppa-tdep.h (HPPA_INSTRUCTION_SIZE): Define. (unwind_table_entry, unwind_stub_types): Move from tm-hppa.h. (obj_unwind_info, obj_private_struct): Move from tm-hppa.h, and rename with hppa_ prefix. * hpread.c (hppa-tdep.h): Include. (hpread_adjust_stack_address): Move from hppa-tdep.c. (hpread_read_function_type, hpread_read_doc_function_type) (hpread_process_one_debug_symbol): Call hpread_adjust_stack_address directly. Use objfile_data to access solib data. * pa64solib.c (hppa-tdep.h): Include. (pa64_solib_add_solib_objfile): Use objfile_data to access solib data. * somsolib.c (hppa-tdep.h): Include. (som_solib_add_solib_objfile): Use objfile_data to access solib data. * config/pa/tm-hppa.h (frame_info, frame_saved_regs, value, type) (inferior_status): Remove unused forward declarations. (INSTRUCTION_SIZE): Move to hppa-tdep.c. (unwind_table_entry, unwind_stub_types, obj_unwind_info) (obj_private_struct): Move to hppa-tdep.h. (HPREAD_ADJUST_STACK_ADDRESS): Remove.
2004-04-15* NEWS (New native configurations): Mention OpenBSD/vax.Mark Kettenis2-0/+31
* configure.host: Add vax-*-openbsd*. * config/vax/obsd.mh: New file. * config/vax/nm-obsd.h: New file.
2004-04-14* NEWS (New native configurations): Mention NetBSD/vax.Mark Kettenis4-0/+65
* configure.host: Add vax-*-netbsdelf* and vax-*-netbsd*. * config/vax/nbsdelf.mh: New file. * config/vax/nbsdaout.mh: New file. * config/vax/nm-nbsd.h: New file. * config/vax/nm-nbsdaout.h: New file.
2004-04-14* vaxnbsd-tdep.c: New file.Mark Kettenis2-0/+30
* Makefile.in (vaxnbsd-tdep.o): New dependency. * configure.tgt: Add vax-*-netbsd* and vax-*-openbsd*. * config/vax/nbsd.mt: New file. * config/vax/tm-nbsd.h: New file.
2004-04-09* i386-sol2-tdep.c: Include "solib-svr4.h".Mark Kettenis3-10/+10
(i386_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets. * Makefile.in (i386-sol2-tdep.o): Update dependencies. * config/i386/tm-i386sol2.h: Include :solib.h". * config/i386/i386sol2.mh (NATDEPFILES): Remove solib.o, solib-svr4.o and solib-legacy.o. * config/i386/i386sol2.mt (TDEPFILES): Add solib.o and solib-svr4.o.
2004-04-09* config/i386/linux.mt (TDEPFILES): Remove solib-legacy.o.Mark Kettenis2-2/+2
* config/i386/linux64.mt (TDEPFILES): Likewise.
2004-04-09* config/i386/i386aout.mt: Remove file.Mark Kettenis1-2/+0
2004-04-09* configure.tgt: Remove i[34567]86-*-go32*,Mark Kettenis5-36/+1
i[34567]86-*-msdosdjgpp*, i[34567]86-*-sco*, i[34567]86-*-sysv* and i[34567]86-*-isc*. Set gdb_target to i386 for i[34567]86-*-netware* and i[34567]86-*-*. * config/i386/i386.mt: New file. * config/i386/embed.mt: Remove file. * config/i386/go32.mt: Remove file. * config/i386/i386nw.mt: Remove file. * config/i386/i386v.mt: Remove file. * config/i386/tm-go32.h: Remove file.
2004-04-07* config/sparc/linux.mt (TDEPFILES): Remove solib-legacy.o.Mark Kettenis6-7/+10
* config/sparc/linux64.mt (TDEPFILES): Likewise. * config/sparc/sol2.mt (TDEPFILES): Add solib.o and solib-svr4.o. * config/sparc/sol2.mh (NATDEPFILES): Remove solib.o, solib-svr4.o and solib-legacy.o. * config/sparc/sol2-64.mt (TDEPFILES): Add solib.o and solib-svr4.o. * config/sparc/tm-sol2.h: Update copyright year. Include "solib.h".
2004-04-062004-04-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-6/+0
* hppa-tdep.c (hppa_breakpoint_from_pc): Make static. (hppa_gdbarch_init): Set gdbarch_breakpoint_from_pc * config/pa/tm-hppa.h (BREAKPOINT_FROM_PC, BREAKPOINT32): (hppa_breakpoint_from_pc): Delete.
2004-04-062004-04-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney15-57/+18
* config/i386/tm-i386.h: Delete file. * config/i386/tm-vxworks.h: Update copyright, do not include "tm-i386.h". * config/i386/tm-nto.h, config/i386/tm-linux.h: Ditto. * config/i386/tm-i386sol2.h, config/i386/tm-i386lynx.h: Ditto. * config/i386/tm-go32.h, config/i386/tm-cygwin.h: Ditto. * config/i386/ncr3000.mt (TM_FILE): Delete. * config/i386/interix.mt (TM_FILE): Delete. * config/i386/i386v.mt (TM_FILE): Delete. * config/i386/i386nw.mt (TM_FILE): Delete. * config/i386/i386gnu.mt (TM_FILE): Delete. * config/i386/i386aout.mt (TM_FILE): Delete. * config/i386/embed.mt (TM_FILE): Delete.
2004-04-052004-04-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney52-1343/+0
* config/mips/xm-riscos.h: Delete. * config/mips/xm-mipsv4.h, config/mips/xm-mips.h: Delete. * config/mips/tm-mipsv4.h, config/mips/riscos.mh: Delete. * config/mips/nm-riscos.h, config/mips/nm-news-mips.h: Delete. * config/mips/nm-mips.h, config/mips/news-mips.mh: Delete. * config/mips/news-mips.mh, config/m68k/tm-m68kv4.h: Delete. * config/mips/decstation.mh, config/mips/littlemips.mh: Delete. * config/mips/mipsv4.mt, config/m68k/tm-sun3.h: Delete. * config/m68k/xm-sun3os4.h, config/m68k/xm-sun3.h: Delete. * config/m68k/xm-sun2.h, config/m68k/xm-m68kv4.h: Delete. * config/m68k/xm-dpx2.h, config/m68k/xm-delta68.h: Delete. * config/m68k/xm-3b1.h, config/m68k/tm-sun3os4.h: Delete. * config/m68k/tm-m68klynx.h, config/m68k/tm-dpx2.h: Delete. * config/m68k/tm-delta68.h, config/m68k/tm-3b1.h: Delete. * config/m68k/sun3os4.mt, config/m68k/nm-sysv4.h: Delete. * config/m68k/nm-sun3.h, config/m68k/sun3os4.mh: Delete. * config/m68k/sun2os3.mh, config/m68k/nm-sun2.h: Delete. * config/m68k/nm-m68klynx.h, config/m68k/sun3os3.mt: Delete. * config/m68k/nm-dpx2.h, config/m68k/sun2os3.mt: Delete. * config/m68k/dpx2.mh, config/m68k/sun3os3.mh: Delete. * config/m68k/sun2os4.mh, config/m68k/nm-delta68.h: Delete. * config/m68k/m68kv4.mt, config/m68k/m68klynx.mt: Delete. * config/m68k/3b1.mt, config/m68k/m68klynx.mh: Delete. * config/m68k/m68kv4.mh, config/m68k/sun2os4.mt: Delete. * config/m68k/tm-sun2os4.h, config/m68k/3b1.mh: Delete. * config/m68k/dpx2.mt, config/m68k/delta68.mt: Delete. * config/m68k/tm-sun2.h, config/m68k/delta68.mh: Delete. * configure.tgt: Remove m68000-*-sunos3*, m68000-*-sunos4*, m68*-bull-sysv*, m68*-att-*, m68*-motorola-*, m68*-*-lynxos*, m68*-*-sunos3*, m68*-*-sunos4*, m68*-*-sysv4*, mips*-*-sysv4*. * configure.host: Remove m680[01]0-sun-sunos3*, m680[01]0-sun-sunos4*, m68*-att-*, m68*-bull*-sysv*, m68*-*-lynxos*, m68*-*-sysv4*, m68*-motorola-*, m68*-sun-sunos3*, m68*-sun-sunos4*, m68*-sun-*, mips-dec-*, mips-little-*, mips-sony-*, mips-*-mach3*, mips-*-sysv4*, mips-*-sysv*, mips-*-riscos*. * NEWS: Mention removed systems.
2004-04-042004-04-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-16/+0
* config/vax/xm-vax.h (FAULT_CODE_ORIGIN, INIT_STACK): Delete. * config/alpha/xm-alphaosf.h (NO_SIGINTERRUPT): Delete. * config/alpha/xm-alphalinux.h (NO_SIGINTERRUPT): Delete.
2004-04-032004-04-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-10/+0
* config/pa/tm-hppa.h (REG_PARM_STACK_SPACE): Delete. * config/pa/tm-hppa64.h (PA20W_CALLING_CONVENTIONS) (REG_PARM_STACK_SPACE): Delete. * hppa-tdep.c (hppa64_push_dummy_call, hppa32_push_dummy_call): Inline reference to REG_PARM_STACK_SPACE.
2004-04-032004-04-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-33/+0
* config/pa/tm-hppah.h (FRAME_SAVED_PC_IN_SIGTRAMP) (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP) (hppa32_hpux_frame_find_saved_regs_in_sigtramp) (FRAME_BASE_BEFORE_SIGTRAMP) (hppa32_hpux_frame_base_before_sigtramp) (hppa32_hpux_frame_saved_pc_in_sigtramp): Delete. * config/pa/tm-hppa64.h (hppa64_hpux_frame_saved_pc_in_sigtramp) (hppa64_hpux_frame_find_saved_regs_in_sigtramp) (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP) (FRAME_BASE_BEFORE_SIGTRAMP) (hppa64_hpux_frame_base_before_sigtramp) (FRAME_SAVED_PC_IN_SIGTRAMP): Delete.
2004-03-232004-03-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-4/+4
* gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): Deprecate. * gdbarch.h, gdbarch.c: Re-generate. * i386obsd-tdep.c (i386obsd_init_abi): Update. * i386nbsd-tdep.c (i386nbsd_init_abi): Update. * i386bsd-tdep.c (i386bsd_init_abi): Update. * config/vax/tm-vaxbsd.h (DEPRECATED_SIGTRAMP_END) (DEPRECATED_SIGTRAMP_START): Update. * config/m68k/tm-nbsd.h (DEPRECATED_SIGTRAMP_END) (DEPRECATED_SIGTRAMP_START): Update. * blockframe.c (find_pc_sect_partial_function): Update. * arch-utils.c (legacy_pc_in_sigtramp): Update. Index: doc/ChangeLog 2004-03-23 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Deprecate references to SIGTRAMP_START and SIGTRAMP_END.
2004-03-192004-03-19 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-2/+0
* config/pa/tm-hppa.h (GDB_TARGET_IS_HPPA): Delete unused macro. Index: doc/ChangeLog 2004-03-19 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete reference to GDB_TARGET_IS_HPPA.
2004-03-182004-03-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney9-14/+14
* config/mips/tm-nbsd.h: Replace IN_SIGTRAMP with DEPRECATED_IN_SIGTRAMP. * config/powerpc/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto. * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP) Ditto. * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Ditto. * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Ditto. * config/ia64/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto. * config/ia64/tm-aix.h (DEPRECATED_IN_SIGTRAMP): Ditto. * config/arm/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto. * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Ditto. * arch-utils.c (legacy_pc_in_sigtramp): Ditto. * arch-utils.h: Remove reference to IN_SIGTRAMP in comment.
2004-03-15 * Makefile.in (frv-linux-tdep.o): Add dependencies.Kevin Buettner1-1/+1
* frv-linux-tdep.c: New file. * frv-tdep.c (struct gdbarch_tdep): Add new field ``sigcontext_reg_addr''. (frv_set_sigcontext_reg_addr, frv_sigtramp,frame_cache) (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register) (frv_sigramp_frame_sniffer): New functions. (frv_sigtramp_frame_unwind): New static global. (frv_gdbarch_init): Hook in ABI-specific overrides. Hook up frame sniffers. * frv-tdep.h (frv_set_sigcontext_reg_addr): New function. * config/frv/frv.mt (TDEPFILES): Add frv-linux-tdep.o.
2004-03-13* config/i386/nm-fbsd.h: Include "config/nm-bsd.h".Mark Kettenis6-44/+42
(PTRACE_ARG3_TYPE, FETCH_INFERIOR_REGISTERS, ATTACH_DETACH): Remove defines. * config/i386/nm-fbsd64.h: Likewise. * config/i386/nm-obsd.h: Likewise. * config/sparc/nm-fbsd.h: Likewise. Update copyright year. * config/alpha/nm-fbsd.h: Likewise. Update copyright year.
2004-03-13Add shared library support for FR-V FDPIC ABI.Kevin Buettner2-1/+3
2004-03-072004-03-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+3
* hppa-tdep.c: Replace DEPRECATED_FP_REGNUM with HPPA_FP_REGNUM, FP0_REGNUM with HPPA_FP0_REGNUM, and SP_REGNUM with HPPA_SP_REGNUM. (hppa_register_raw_size, hppa_register_byte, hppa_read_fp) (hppa_target_read_fp): Delete. (hppa_gdbarch_init): Do not set deprecated register_raw_size, register_virtual_size, max_register_raw_size, max_register_virtual_size, register_byte, register_size, target_read_fp, fp_regnum, and register_bytes. Set register_type instead of register_virtual_type. (hppa32_register_type, hppa64_register_type): Replace hppa32_register_virtual_type and hppa64_register_virtual_type. * config/pa/tm-hppa.h (HPPA_FP0_REGNUM, HPPA_SP_REGNUM) (HPPA_FP_REGNUM): Define.
2004-03-072004-03-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-6/+0
* hppa-tdep.c (pa_do_registers_info, pa_do_strcat_registers_info) (pa_print_registers, pa_print_fp_reg, pa_strcat_registers) (pa_strcat_fp_reg, pa_register_look_aside): Delete. * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO) (pa_do_registers_info): Delete.
2004-03-072004-03-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-143/+0
* infcall.c (legacy_push_dummy_code): Delete #ifdef GDB_TARGET_IS_HPPA code. * config/pa/tm-hppa.h (DEPRECATED_FIX_CALL_DUMMY) (hppa_fix_call_dummy, DEPRECATED_CALL_DUMMY_HAS_COMPLETED) (DEPRECATED_DUMMY_WRITE_SP, CALL_DUMMY): Delete. * config/pa/tm-hppa64.h (CALL_DUMMY): Delete. * hppa-tdep.c (hppa_frame_chain, hppa_frame_chain_valid) (hppa_push_dummy_frame, hppa_pop_frame, hppa_push_arguments) (hppa_fix_call_dummy, hppa64_stack_align, hppa_frame_saved_pc) (hppa_init_extra_frame_info, hppa_saved_pc_after_call) (hppa64_call_dummy_breakpoint_offset, hppa_frame_init_saved_regs) (hppa_frameless_function_invocation, hppa64_store_return_value) (hppa_store_struct_return, hppa64_extract_return_value) (hppa64_use_struct_convention, hppa_frame_find_saved_regs) (hppa32_call_dummy_length, hppa64_call_dummy_length) (find_dummy_frame_regs, FUNC_LDIL_OFFSET, FUNC_LDO_OFFSET) (find_proc_framesize, deposit_21, restore_pc_queue) (find_return_regnum, pc_in_interrupt_handler, deposit_14) (rp_saved, pc_in_linker_stub):
2004-03-06* config/alpha/tm-fbsd.h: Remove file.Mark Kettenis2-29/+2
* config/alpha/fbsd.mt: Tweak comment. (TM_FILE): Set to tm-alpha.h.
2004-03-012004-02-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-6/+0
* rs6000-tdep.c (rs6000_init_frame_pc_first): New function. (rs6000_gdbarch_init): Set deprecated_init_frame_pc_first. * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Delete macro.
2004-02-28* config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" toMark Kettenis1-0/+2
"config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to "config/i386/tm-lx64.h".
2004-02-28* config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" toMark Kettenis1-2/+2
"amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c". Remove rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c".
2004-02-25* amd64-tdep.h: Renamed from x86-64-tdep.h.Mark Kettenis8-22/+18
* amd64-tdep.c: Renamed from x86-64-tdep.c. Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64-linux-tdep.h: Renamed from x86-64-linux.h. * amd64-linux-tdep.c: Renamed from x86-64-linux-tdep.c. Include "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h" and "x86-64-tdep.c". * amd64-linux-nat.c: Renamed from x86-64-linux-nat.c. Include "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h" and "x86-64-tdep.c". * amd64bsd-nat.c: Update copyright year. Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64fbsd-tdep.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64fbsd-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64nbsd-tdep.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64nbsd-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64obsd-tdep.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64obsd-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * configure.host: (x86_64-*-linux*): Set gdb_target to linux64. * configure.tgt (x86_64-*-linux*): Set gdb_target to linux64. * Makefile.in (amd64_linux_tdep_h): Renamed from x86_64_linux_tdep_h. (amd64_tdep_h): Renamed from x86_64_tdep_h. (amd64bsd-nat.o, amd64fbsd-nat.o, amd64fbsd-tdep.o, amd64-nat.o) (amd64nbsd-nat.o, amd64nbsd-tdep.o, amd64obsd-nat.o) (amd64obsd-tdep.o): Update dependencies. (amd64-tdep.o, amd64-linux-nat.o, amd64-linux-tdep.o): New dependencies. (x86-64-linux-nat.o, x86-64-linux-tdep.o, x86-64-tdep.o): Remove dependencies. (ALLDEPFILES): Add amd64-tdep.c, amd64obsd-nat.c, amd64obsd-nat.c, amd64-linux-nat.c amd64-linux-tdep.c. * config/i386/tm-linux64.h: Renamed from tm-x86-64linux.h * config/i386/nm-linux64.h: Renamed from nm-x86-64linux.h. * config/i386/linux64.mt: Renamed from x86-64linux.mt. (TDEPFILES): Replace x86-64-tdep.o and x86-64-linux-tdep.o with amd64-tdep.o and amd64-linux-tdep.o. (TM_FILE): Set to tm-linux64.h. * config/i386/linux64.mh: Renamed from x86-64linux.mh. (NAT_FILE): Set to nm-linux64.h. (NATDEPFILES): Replace x86-64-linux-nat.o with amd64-linux-nat.o. * config/i386/fbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with amd64-tdep.o. * config/i386/nbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with amd64-tdep.o. * config/i386/obsd64.mt (TDEPFILES): Replace x86-64-tdep.o with amd64-tdep.o.
2004-02-25* config/i386/tm-x86-64linux.h: Tweak comments.Mark Kettenis1-3/+3
2004-02-232004-02-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-4/+0
* config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro. (DEPRECATED_PC_IN_CALL_DUMMY): Delete macro. (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro. * hppa-tdep.c (hppa_gdbarch_init): Clear deprecated use_generic_dummy_frames, set deprecated pc_in_call_dummy, set call_dummy_location to ON_STACK.
2004-02-22* x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): RenameMark Kettenis1-9/+9
from x86_64_linux_gregset64_reg_offset. (amd64_linux_gregset32_reg_offset): Rename from x86_64_linux_gregset64_reg_offset. (amd64_linux_dr_get): Renamed from x86_64_linux_dr_get. (amd64_linux_dr_set): Renamed from x86_64_linux_dr_set. (amd64_linux_dr_set_control): Renamed from x86_64_linux_dr_set_control. Adjust for renamed functions. (amd64_linux_dr_set_addr): Renamed from x86_64_linux_dr_set_addr. Adjust for renamed functions. (amd64_linux_dr_reset_addr): Renamed from x86_64_linux_dr_reset_addr. Adjust for renamed functions. (amd64_linux_dr_get_status): Renamed from x86_64_linux_dr_get_status. Adjust for renamed functions. (_initialize_amd64_linux_nat): Renamed from _initialize_x86_64_linux_nat. Adjust for renamed variables and functions. * config/i386/nm-x86-64linux.h: Update copyright year. Adjust for renamed functions.
2004-02-222004-02-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-8/+4
* config/pa/tm-hppa.h: Update copyright. (DEPRECATED_INIT_FRAME_PC): Delete macro. (deprecated_init_frame_pc_default): Delete declaration. (hppa_frame_init_saved_regs): Delete declaration. (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. * hppa-tdep.c: Include "arch-utils.h". (hppa_gdbarch_init): Set deprecated init_frame_pc and deprecated frame_init_saved_regs. (hppa_frame_init_saved_regs): Make static.
2004-02-22Remove old 386BSD support.Mark Kettenis5-109/+0
* configure.host: Remove i[34567]86-*-bsd*. * configure.tgt: Remove i[34567]86-*-bsd*. * i386b-nat.c: Removed. * Makefile.in (ALLDEPFILES): Remove i386b-nat.c. * config/i386/i386bsd.mh: Removed. * config/i386/i386bsd.mt: Removed. * config/i386/nm-i386bsd.h: Removed. * config/i386/tm-i386bsd.h: Removed. * config/i386/xm-i386bsd.h: Removed.
2004-02-22* amd64fbsd-tdep.c: Include "solib-svr4.h".Mark Kettenis23-95/+82
(amd64fbsd_init_abi): Set link map offsets. * amd64nbsd-tdep.c: Include "slib-svr4.h". (amd64nbsd_init_abi): Set link map offsets. * amd64obsd-tdep.c: Include "solib-svr4.h". (amd64obsd_init_abi): Set link map offsets. * i386fbsd-tdep.c: Include "solib-svr4.h". (i386fbsd_init_abi): Set link map offsets. * i386nbsd-tdep.c: Include "solib-svr4.h". (i386nbsdelf_init_abi): Set link map offsets. * Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o) (amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies. * config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o, solib-legacy.o and core-aout.o. Reformat. * config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o, solib-svr4.o, solib-legacy.o. Reformat. * config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o. Reformat. * config/i386/nbsdelf.mh: Reformat. * config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o, solib-svr4.o, solib-legacy.o and corelow.o. * config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat. * config/i386/obsd64.mh (NATDEPFILES): Remove solib.o, solib-svr4.o, solib-legacy.o and corelow.o. Reformat. * config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o. * config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o. (TM_FILE): Set to tm-fbsd.h. * config/i386/nbsd.mt (TDEPFILES): Reformat. * config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and solib-svr4.o. * config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and solib-svr4.o. (TM_FILE): Set to nm-nbsd.h. * config/i386/nm-fbsd.h: Update copyright year. Tweak comments. Simplify shared library support. Don't include "elf/common.h". (SVR4_SHARED_LIBS): Don't define. * config/i386/nm-fbsd64.h: Update copyright year. Don't include "solib.h". * config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h, config/i386/nm-obsd.h: Update copyright year. Tweak comments. * config/i386/tm-fbsd.h: Update copyright tear. Tweak comments. Don't include "i386/tm-i386.h". Include "solib.h". * config/i386/tm-nbsd.h: Update copyright year. Tweak comments. Don't include "i386/tm-i386.h". * config/i386/xm-i386.h: Update copyright year. Tweak comments. * config/i386/xm-nbsd.h: Update copyright year. Tweak comments. Include "i386/xm-i386.h". (HOST_LONG_DOUBLE_FORMAT): Remove.
2004-02-21* configure.host: Add i[34567]86-*-openbsd[0-2].* andMark Kettenis1-0/+7
i[34567]86-*-openbsd3.[0-3]. * config/i386/obsdaout.mh: New file.
2004-02-21* config/i386/obsd.mh (MH_FLAGS): Remove.Mark Kettenis1-4/+0
2004-02-21Fix PR build/1549.Mark Kettenis2-6/+6
* i386obsd-tdep.c: Update copyright years. Include "solib-svr4.h". (i386obsd_init_abi): Don't set regset_from_core_section here. (i386obsd_aout_init_abi): New function. Set regset_from_core_section here. (i386obsd_elf_init_abi): New function. (_initialize_i386obsd_tdep): Register OS/ABI for OpenBSD ELF. * Makefile.in (i386obsd-tdep.o): Update dependecies. * config/i386/obsd.mt (TDEPFILES): Add solib.o and solib-svr4.o. (TM_FILE): Set to tm-nbsd.h. * config/i386/obsd.mh (NATDEPFILES): Remove solib.o and solib-sunos.o.
2004-02-20* amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h". FixMark Kettenis1-1/+2
comments. (amd64obsd_supply_regset, amd64obsd_regset_from_core_section): New functions. (amd64obsd_init_abi): Reorder initializations. Use amd64obsd_r_reg_offset to initialize the general-purpose register set details. Set regset_from_core_section. (_initialize_amd64obsd_tdep): Rename from _initialize_amd64obsd_ndep. Add OS ABI handler for core dumps. * Makefile.in (amd64obsd-tdep.o): Update dependencies. * config/i386/obsd64.mt (TDEPFILES): Add i386-tdep.o.
2004-02-202004-02-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-71/+0
Fix PR tdep/1372. * configure.tgt: Delete target "none-*-*". * configure.host: Delete host "none-*-*". * config/none/none.mh: Delete file. * config/none/none.mt: Delete file. * config/none/xm-none.h: Delete file. * config/none/tm-none.h: Delete file. * config/none/nm-none.h: Delete file.