aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
2002-06-08* config/djgpp/fnchange.lst: Fix problems with bfd/elf32-i386.c,Andrew Cagney1-4/+9
bfd/elf32-i386qnx.c, bfd/elf32-sh.c, bfd/elf32-sh64-nbsd.c, bfd/elf64-sh64-nbsd.c bfd/elf64-sh64.c.
2002-06-072002-06-07 Michal Ludvig <mludvig@suse.cz>Michal Ludvig1-1/+1
* x86-64-linux-nat.c (x86_64_fxsave_offset): New. (supply_fpregset, fill_fpregset): Don't call i387_*_fxsave, better do the things actually here. * x86-64-tdep.c (x86_64_register_name2nr): New. (x86_64_register_name): Renamed to x86_64_register_nr2name. (x86_64_gdbarch_init): Respect the above change. * x86-64-tdep.h (x86_64_register_name2nr) (x86_64_register_nr2name): Add prototypes. * config/i386/x86-64linux.mt (TDEPFILES): Remove i387-tdep.o.
2002-06-062002-06-06 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+4
* config/djgpp/fnchange.lst: Add testsuite files altivec-abi.c, altivec-abi.exp, altivec-regs.c, altivec-regs.exp.
2002-06-05* config/alpha/nm-linux.h: Add "config/" prefix to tm, nm and xmAndrew Cagney77-81/+81
includes. * config/tm-linux.h: Ditto. * config/alpha/tm-alphalinux.h: Ditto. * config/arm/nm-linux.h, config/arm/tm-linux.h: Ditto. * config/arm/xm-nbsd.h, config/i386/nm-gnu.h: Ditto. * config/i386/nm-i386lynx.h, config/i386/nm-i386sol2.h: Ditto. * config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h: Ditto. * config/i386/nm-linux.h, config/i386/nm-m3.h: Ditto. * config/i386/nm-ptx4.h, config/i386/nm-x86-64.h: Ditto. * config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h: Ditto. * config/i386/tm-i386m3.h, config/i386/tm-i386sco5.h: Ditto. * config/i386/tm-i386v4.h, config/i386/tm-linux.h: Ditto. * config/i386/tm-ptx4.h, config/i386/tm-vxworks.h: Ditto. * config/i386/xm-i386v4.h, config/i386/xm-nbsd.h: Ditto. * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto. * config/i960/tm-vx960.h, config/ia64/nm-aix.h: Ditto. * config/ia64/nm-linux.h, config/ia64/tm-aix.h: Ditto. * config/ia64/tm-linux.h, config/ia64/xm-aix.h: Ditto. * config/m68k/nm-linux.h, config/m68k/nm-m68klynx.h: Ditto. * config/m68k/nm-sysv4.h, config/m68k/tm-linux.h: Ditto. * config/m68k/tm-m68klynx.h, config/m68k/tm-m68kv4.h: Ditto. * config/m68k/tm-sun2os4.h, config/m68k/tm-sun3os4.h: Ditto. * config/m68k/tm-vx68.h, config/m68k/xm-m68kv4.h: Ditto. * config/m68k/xm-nbsd.h, config/m88k/nm-delta88v4.h: Ditto. * config/m88k/tm-delta88v4.h, config/m88k/xm-delta88v4.h: Ditto. * config/mips/nm-irix5.h, config/mips/nm-linux.h: Ditto. * config/mips/tm-linux.h, config/mips/tm-mips64.h: Ditto. * config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h: Ditto. * config/mips/tm-vxmips.h, config/mips/xm-irix5.h: Ditto. * config/mips/xm-mipsv4.h, config/ns32k/xm-nbsd.h: Ditto. * config/pa/nm-hppao.h, config/powerpc/nm-linux.h: Ditto. * config/powerpc/tm-linux.h, config/powerpc/tm-vxworks.h: Ditto. * config/powerpc/xm-aix.h, config/rs6000/nm-rs6000ly.h: Ditto. * config/rs6000/tm-rs6000ly.h, config/rs6000/xm-aix4.h: Ditto. * config/sh/tm-linux.h, config/sparc/nm-linux.h: Ditto. * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4sol2.h: Ditto. * config/sparc/tm-linux.h, config/sparc/tm-sp64linux.h: Ditto. * config/sparc/tm-sp64sim.h, config/sparc/tm-sparclynx.h: Ditto. * config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h: Ditto. * config/sparc/tm-vxsparc.h, config/sparc/xm-sun4sol2.h: Ditto.
2002-06-02* config/rs6000/aix4.mt (TDEPFILES): Use ppc-sysv-tdep.oJason Thorpe3-3/+3
insetead of ppc-linux-tdep.o. * config/rs6000/rs6000.mt (TDEPFILES): Likewise. * config/rs6000/rs6000lynx.mt (TDEPFILES): Likewise.
2002-05-31* config/djgpp/fnchange.lst: Add ns32knbsd-nat.c, ns32knbsd-tdep.c,Jason Thorpe1-0/+6
ppcnbsd-nat.c, ppcnbsd-tdep.c, sparcnbsd-nat.c, and sparcnbsd-tdep.c.
2002-05-31* Makefile.in (ALLDEPFILES): Add sparc64nbsd-nat.c,Jason Thorpe11-74/+27
sparcnbsd-nat.c, and sparcnbsd-tdep.c. (sparc64nbsd-nat.o) (sparcnbsd-nat.o) (sparcnbsd-tdep.o): New dependency lists. * NEWS: Note new UltraSPARC NetBSD native configuration. * configure.host (sparc64-*-netbsd*): New host. * configure.tgt (sparc-*-netbsdelf*) (sparc-*-netbsd*): Set gdb_target to nbsd. (sparc64-*-netbsd*): New target. * sparc64nbsd-nat.c: New file. * sparcnbsd-nat.c: New file. * sparcnbsd-tdep.c: New file. * sparcnbsd-tdep.h: New file. * config/sparc/nbsd.mt: New file. * config/sparc/nbsd64.mh: New file. * config/sparc/nbsd64.mt: New file. * config/sparc/nbsdaout.mh (NATDEPFILES): Remove corelow.o, sparc-nat.o, and solib.o. Add sparcnbsd-nat.o. (HOST_IPC): Remove. * config/sparc/nbsdaout.mt: Remove. * config/sparc/nbsdelf.mh (NATDEPFILES): Remove corelow.o, sparc-nat.o, and solib.o. Add sparcnbsd-nat.o. (HOST_IPC): Remove. * config/sparc/nbsdelf.mt: Remove. * config/sparc/nm-nbsd.h: Update copyright years. Remove all sparc-nat.c compatiblity defines. * config/sparc/tm-nbsd.h: Update copyright years. Include solib.h. (GDB_MULTI_ARCH): Set to GDB_MULTI_ARCH_PARTIAL. * config/sparc/tm-nbsd64.h: New file. * config/sparc/tm-nbsdaout.h: Remove. * config/sparc/xm-nbsd.h: Remove.
2002-05-30* Makefile.in (ppc_tdep_h): Define.Jason Thorpe9-9/+10
(ppc-linux-nat.o) (ppc-linux-tdep.o) (rs6000-tdep.o): Use $(ppc_tdep_h). (ppc-sysv-tdep.o) (ppcnbsd-nat.o) (ppcnbsd-tdep.o): New dependency lists. * ppc-tdep.h: Use generic OS ABI framework. * ppc-linux-tdep.c (_initialize_ppc_linux_tdep, ppc_linux_init_abi): New functions. (ppc_sysv_abi_broken_use_struct_convention) (ppc_sysv_abi_use_struct_convention) (ppc_sysv_abi_push_arguments): Move to... * ppc-sysv-tdep.c: ...here. * ppcnbsd-nat.c: Don't include gdbcore.h and regcache.h. * rs6000-tdep.c (process_note_abi_tag_sections) (get_elfosabi): Remove. (rs6000_gdbarch_init): Use generic OS ABI framework. (rs6000_dump_tdep): New function. (_initialize_rs6000_tdep): Use gdbarch_register. * config/powerpc/linux.mt (TDEPFILES): Add ppc-sysv-tdep.o. * config/powerpc/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. * config/powerpc/aix.mt (TDEPFILES): Use ppc-sysv-tdep.o instead of ppc-linux-tdep.o. * config/powerpc/nbsd.mt (TDEPFILES): Likewise. * config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise. * config/powerpc/ppc-sim.mt (TDEPFILES): Likewise. * config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise. * config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise. * config/powerpc/vxworks.mt (TDEPFILES): Likewise.
2002-05-28* ppcnbsd-nat.c: Rewrite.Jason Thorpe2-3/+3
* ppcnbsd-tdep.c: New file. * ppcnbsd-tdep.h: New file. * config/powerpc/nbsd.mh (NATDEPFILES): Remove corelow.o, solib.o, and solib-svr4.o. * config/powerpc/nbsd.mt (TDEPFILES): Add ppcnbsd-tdep.o, nbsd-tdep.o, and corelow.o.
2002-05-27* ns32k-tdep.c: include gdbtypes.h, inferior.h, regcache.h,Jason Thorpe4-215/+41
target.s, arch-utils.h, ns32k-tdep.h. Make many functions static. Rename some register numbers to put them in ns32k-tdep private namespace. (ns32k_get_saved_register, ns32k_gdbarch_init_32082, ns32k_gdbarch_init_32382, ns32k_gdbarch_init, ns32k_dump_tdep): New functions. (_initialize_ns32k_tdep): Use gdbarch_register. * ns32k-tdep.h: New file. * ns32knbsd-tdep.c: New file. * config/ns32k/nbsdaout.mt (TDEPFILES): Add ns32knbsd-tdep.o. * config/ns32k/tm-nbsd.h: Include "ns32k/tm-ns32k.h". (IN_SOLIB_CALL_TRAMPOLINE, REGISTER_NAME, NUM_REGS, REGISTER_BYTES, REGISTER_BYTE): Remove. * config/ns32k/tm-ns32k.h: New file. * config/ns32k/tm-umax.h: Remove.
2002-05-26* ns32k-tdep.c (ns32k_saved_pc_after_call,Jason Thorpe1-30/+15
ns32k_store_struct_return, ns32k_extract_return_value, ns32k_store_return_value, ns32k_extract_struct_value_address): New functions. * config/ns32k/tm-umax.h (SAVED_PC_AFTER_CALL): Define as ns32k_saved_pc_after_call. (STORE_STRUCT_RETURN): Define as ns32k_store_struct_return. (EXTRACT_RETURN_VALUE): Define as ns32k_extract_return_value. (STORE_RETURN_VALUE): Define as ns32k_store_return_value. (EXTRACT_STRUCT_VALUE_ADDRESS): Define as ns32k_extract_struct_value_address.
2002-05-26* ns32k-tdep.c (ns32k_call_dummy_words, sizeof_ns32k_call_dummy_words,Jason Thorpe1-28/+11
ns32k_fix_call_dummy): New. * config/ns32k/tm-umax.h (CALL_DUMMY_WORDS): Define as ns32k_call_dummy_words. (SIZEOF_CALL_DUMMY_WORDS): Define as sizeof_ns32k_call_dummy_words. (CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_ADDR, CALL_DUMMY_NARGS): Remove. (FIX_CALL_DUMMY): Define as ns32k_fix_call_dummy.
2002-05-26* ns32k-tdep.c (ns32k_breakpoint_from_pc, ns32k_frame_chain,Jason Thorpe2-103/+19
ns32k_frame_saved_pc, ns32k_frame_args_address, ns32k_frame_locals_address, ns32k_frame_init_saved_regs, ns32k_push_dummy_frame, ns32k_pop_frame): New functions. * config/ns32k/tm-nbsd.h (FRAME_SAVED_PC): Remove. * config/ns32k/tm-umax.h (INNER_THAN): Define as core_addr_lessthan. (BREAKPOINT_FROM_PC): Define as ns32k_breakpoint_from_pc. (BREAKPOINT): Remove.. (FRAME_CHAIN): Define as ns32k_frame_chain. (FRAME_SAVED_PC): Define as ns32k_frame_saved_pc. (FRAME_ARGS_ADDRESS): Define as ns32k_frame_args_address. (FRAME_LOCALS_ADDRESS): Define as ns32k_frame_locals_address. (FRAME_FIND_SAVED_REGS): Remove. (FRAME_INIT_SAVED_REGS): Define as ns32k_frame_init_saved_regs. (PUSH_DUMMY_FRAME): Define as ns32k_push_dummy_frame. (POP_FRAME): Define as ns32k_pop_frame.
2002-05-26* ns32k-tdep.c (ns32k_register_byte_32082,Jason Thorpe2-39/+13
ns32k_register_byte_32382, ns32k_register_raw_size, ns32k_register_virtual_size, ns32k_register_virtual_type): New functions. * config/ns32k/tm-nbsd.h (REGISTER_BYTE): Define as ns32k_register_byte_32382. * config/ns32k/tm-umax.h: Update copyright years. (REGISTER_BYTE): Define as ns32k_register_byte_32082. (REGISTER_RAW_SIZE): Define as ns32k_register_raw_size. (REGISTER_VIRTUAL_SIZE): Define as ns32k_register_virtual_size. (REGISTER_VIRTUAL_TYPE): Define as ns32k_register_virtual_type. (ns32k_get_enter_addr): Fix prototype.
2002-05-26* ns32k-tdep.c: Update copyright years.Jason Thorpe2-21/+9
(ns32k_register_name_32082): New function. (ns32k_register_name_32382): Ditto. * config/ns32k/tm-nbsd.h (REGISTER_NAMES): Remove. (REGISTER_NAME): Define as ns32k_register_name_32382. * config/ns32k/tm-umax.h (REGISTER_NAMES): Remove. (REGISTER_NAME): Define as ns32k_register_name_32082.
2002-05-24* config/djgpp/fnchange.lst: Add alphabsd-nat.c,Jason Thorpe1-0/+4
alphabsd-tdep.c, mipsnbsd-nat.c, and mipsnbsd-tdep.c
2002-05-24From Ross Alexander at NEC Europe:Andrew Cagney1-1/+1
* config/pa/hpux11w.mh (NATDEPFILES): Add solib.o.
2002-05-22* config/alpha/tm-nbsd.h: Include solib.h.Jason Thorpe1-0/+1
2002-05-22* Makefile.in (armnbsd-tdep.o): Add solib-svr4.h andJason Thorpe34-119/+234
nbsd-tdep.h to dependency list. * configure.host (arm*-*-netbsdelf*, arm*-*-netbsd*, i[3456]86-*-netbsdaout*, i[3456]86-*-netbsd*, m68*-*-netbsd*, ns32k-*-netbsd*, sparc-*-netbsdaout*, sparc-*-netbsd*): Use nbsdaout.mh and nbsdelf.mh consistently. * configure.tgt (i[3456]86-*-netbsd*, m68*-*-netbsd*, ns32k-*-netbsd*, sparc-*-netbsdelf*, sparc-*-netbsd*) Use nbsdaout.mt and nbsdelf.mh consistently. * armnbsd-tdep.c: Include nbsd-tdep.h and solib-svr4.h. (arm_netbsd_elf_init_abi): Use set_solib_svr4_fetch_link_map_offsets to set nbsd_ilp32_solib_svr4_fetch_link_map_offsets. * config/nm-nbsd.h: Garbage-collect SVR4_SHARED_LIBS. Move a.out shared library stuff from here... * config/nm-nbsdaout.h: ...to here. * config/tm-nbsd.h: Remove. * config/alpha/nm-nbsd.h (SVR4_SHARED_LIBS): Remove. * config/arm/nbsd.mh: Remove. * config/arm/nbsd.mt (TDEPFILES): Remove solib-sunos.o, add nbsd-tdep.o. * config/arm/nbsdaout.mh: New file. * config/arm/nbsdelf.mh: New file. * config/arm/nm-nbsdaout.h: New file. * config/i386/nbsd.mh: Remove. * config/i386/nbsd.mt: Remove. * config/i386/nbsdaout.mh: New file. * config/i386/nbsdaout.mt: New file. * config/i386/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. * config/i386/nbsdelf.mt (TM_FILE): Use tm-nbsd.h. * config/i386/nm-nbsd.h (REGISTER_U_ADDR, i386_register_u_addr): Remove. * config/i386/nm-nbsdaout.h: New file. * config/i386/nm-nbsdelf.h: Remove. * config/i386/tm-nbsd.h: Don't include config/tm-nbsd.h. (USE_STRUCT_CONVENTION): Remove. * config/i386/tm-nbsdaout.h: New file. * config/i386/tm-nbsdelf.h: Remove. * config/m68k/nbsd.mh: Remove. * config/m68k/nbsd.mt: Remove. * config/m68k/nbsdaout.mh: New file. * config/m68k/nbsdaout.mt: New file. * config/m68k/nm-nbsd.h: Use config/nm-nbsd.h. * config/m68k/nm-nbsdaout.h: New file. * config/m68k/tm-nbsd.h: Don't include config/tm-nbsd.h. (IN_SOLIB_CALL_TRAMPOLINE): Define. * config/ns32k/nbsd.mh: Remove. * config/ns32k/nbsd.mt: Remove. * config/ns32k/nbsdaout.mh: New file. * config/ns32k/nbsdaout.mt: New file. * config/ns32k/nm-nbsd.h: Include config/nm-nbsd.h. * config/ns32k/nm-nbsdaout.h: New file. * config/ns32k/tm-nbsd.h: Don't include config/tm-nbsd.h. (IN_SOLIB_CALL_TRAMPOLINE): Define. * config/powerpc/nm-nbsd.h: Include config/nm-nbsd.h. (SVR4_SHARED_LIBS): Remove. * config/powerpc/tm-nbsd.h: Dont' include config/tm-nbsd.h. * config/sparc/nbsd.mh: Remove. * config/sparc/nbsd.mt: Remove. * config/sparc/nbsdaout.mh: New file. * config/sparc/nbsdaout.mt: New file. * config/sparc/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. * config/sparc/nbsdelf.mt: New file. * config/sparc/nm-nbsdaout.h: New file. * config/sparc/nm-nbsdelf.h: Remove. * config/sparc/tm-nbsd.h: Don't include config/tm-nbsd.h. * config/sparc/tm-nbsdaout.h: New file.
2002-05-21* NEWS: Note new MIPS NetBSD native configuration.Jason Thorpe4-0/+83
* configure.host (mips*-*-netbsd*): New host. * configure.tgt (mips*-*-netbsd*): New target. * mipsnbsd-nat.c: New file. * mipsnbsd-tdep.c: New file. * mipsnbsd-tdep.h: New file. * config/mips/nbsd.mh: New file. * config/mips/nbsd.mt: New file. * config/mips/nm-nbsd.h: New file. * config/mips/tm-nbsd.h: New file.
2002-05-18* config/i386/nm-cygwin.h (NO_PTRACE_H): Remove define.Mark Kettenis2-6/+2
* config/i386/nm-go32.h (NO_PTRACE_H): Remove define.
2002-05-17h8300: Add support of EXR registerAndrey Volkov1-3/+4
2002-05-17* Makefile.in (sh_tdep_h): Define and use.Jason Thorpe1-94/+0
* config/sh/tm-sh.h (sh_osabi, sh_abi, gdbarch_tdep, register enum): Move to... * * sh-tdep.h: ...here. * sh-tdep.c: Include sh-tdep.h. * sh3-rom.c: Likewise. * shnbsd-tdep.c: Likewise.
2002-05-16* config/arm/nm-nbsd.h: Use "config/nm-nbsd.h" to include genericRichard Earnshaw1-1/+1
include file of the same name.
2002-05-16 * configure.tgt: Mark v850 as multi-arched.Corinna Vinschen2-24/+1
* config/v850/tm-v850.h: Remove file. * config/v850/v850.mt: Eliminate TM_FILE.
2002-05-16 * v850-tdep.c: Full multi-arch.Corinna Vinschen1-151/+1
* config/v850/tm-v850.h: Eliminate or move to v850-tdep.c everything. Define GDB_MULTI_ARCH to 2.
2002-05-16 * v850-tdep.c: Fix comment for v850_scan_prologue. Remove extraCorinna Vinschen1-5/+2
frame info. Use frame_info's saved_regs instead of matching member in extra_frame_info throughout. (v850_frame_init_saved_regs): New function. (v850_init_extra_frame_info): Move most functionality into v850_frame_init_saved_regs(). * config/v850/tm-v850.h (EXTRA_FRAME_INFO): Remove definition. (v850_frame_find_saved_regs): Remove declaration. (FRAME_FIND_SAVED_REGS): Remove definition. (v850_frame_init_saved_regs): Add declaration. (FRAME_INIT_SAVED_REGS): Add definition.
2002-05-15* config/arm/nm-nbsd.h: Use <> for include of config/nm-nbsd.h.Richard Earnshaw1-7/+1
(REGISTER_U_ADDR): Delete definition. (arm_register_u_addr): Delete declaration.
2002-05-13* config/m88k/tm-m88k.h: Update copyright.Andrew Cagney1-10/+8
(m88k_target_write_pc): Declare (TARGET_WRITE_PC): Redefine using m88k_target_write_pc. (M88K_NNPC_REGNUM): Rename NNPC_REGNUM. (SHIFT_INST_REGS): Update definition. * m88k-tdep.c (m88k_target_write_pc): New function. Implement using old definition of TARGET_WRITE_PC. * regcache.c (generic_target_write_pc): Delete code handling NNPC_REGNUM. * gdbarch.sh (NNPC_REGNUM): Delete. * gdbarch.h, gdbarch.c: Regenerate. * gdbint.texinfo (Target Architecture Definition): Delete documentation on NNPC_REGNUM.
2002-05-11* Makefile.in (ALLDEPFILES): Add nbsd-tdep.c.Jason Thorpe2-2/+2
(alphanbsd-tdep.o): Add nbsd-tdep.h to dependency list. (nbsd-tdep.o): New dependency list. * alphanbsd-tdep.c: Don't include solib-svr4.h. Include nbsd-tdep.h. (alphanbsd_solib_svr4_fetch_link_map_offsets): Remove. (alphanbsd_init_abi): Use nbsd_lp64_solib_svr4_fetch_link_map_offsets. * nbsd-tdep.c: New file. * nbsd-tdep.h: New file. * shnbsd-tdep.c: Don't include solib-svr4.h. Include nbsd-tdep.h. (shnbsd_solib_svr4_fetch_link_map_offsets): Remove. (shnbsd_init_abi): Use nbsd_ilp32_solib_svr4_fetch_link_map_offsets. * config/alpha/nbsd.mt (TDEPFILES): Add nbsd-tdep.o. * config/sh/nbsd.mt (TDEPFILES): Ditto.
2002-05-11* config/alpha/nbsd.mh (NATDEPFILES): Remove corelow.o.Jason Thorpe6-6/+7
* config/alpha/nbsd.mt (TDEPFILES): Add corelow.o. * config/i386/nbsd.mh (NATDEPFILES): Remove corelow.o. * config/i386/nbsd.mt (TDEPFILES): Add corelow.o. * config/i386/nbsdelf.mh (NATDEPFILES): Remove corelow.o. * config/i386/nbsdelf.mt (TDEPFILES): Add corelow.o.
2002-05-11* config/i386/nbsd.mh (NATDEPFILES): Use line continuations.Jason Thorpe7-14/+14
* config/i386/nbsdelf.mh (NATDEPFILES): Likewise. * config/m68k/nbsd.mh (NATDEPFILES): Likewise. * config/ns32k/nbsd.mh (NATDEPFILES): Likewise. * config/powerpc/nbsd.mh (NATDEPFILES): Likewise. * config/sparc/nbsd.mh (NATDEPFILES): Likewise. * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
2002-05-11* i386nbsd-nat.c: Delete file. Move fetch_core_registers andJason Thorpe4-5/+5
fetch_elfcore_registers to... * i386nbsd-tdep.c: ...here. (i386nbsd_use_struct_convention): Rename to... (i386nbsd_aout_use_struct_convention): ...this. (i386nbsd_supply_reg): New function. (i386nbsd_fill_reg): New function. (fetch_core_registers): Use i386nbsd_supply_reg. (fetch_elfcore_registers): Likewise. (_initialize_i386nbsd_tdep): New function. * config/i386/nbsd.mh (NATDEPFILES): Remove i386nbsd-nat.o. * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. * config/i386/nbsdelf.mt (TDEPFILES): Add i386nbsd-tdep.o. * config/i386/tm-nbsd.h (i386nbsd_use_struct_convention): Rename to... (i386nbsd_aout_use_struct_convention): ...this.
2002-05-11* Makefile.in (ALLDEPFILES): Remove i387-nat.c.Jason Thorpe10-10/+10
(i387-nat.o): Delete dependency list. (go32-nat.o): Change i387-nat.h to i387-tdep.h. (x86-64-linux-nat.o): Likewise. * i387-nat.c: Delete file, moving contents to... * i387-tdep.c: ...here. * i387-nat.h: Rename... * i387-tdep.h: ...to this. * go32-nat.c: Include i387-tdep.h instead of i387-nat.h. * i386-linux-nat.c: Likewise. * i386bsd-nat.c: Likewise. * i386gnu-nat.c: Likewise. * i386nbsd-nat.c: Likewise. * i386v4-nat.c: Likewise. * x86-64-linux-nat.c: Likewise. * config/i386/fbsd.mh (NATDEPFILES): Remove i387-nat.o. * config/i386/go32.mh (NATDEPFILES): Likewise. * config/i386/i386gnu.mh (NATDEPFILES): Likewise. * config/i386/i386sol2.mh (NATDEPFILES): Likewise. * config/i386/i386v42mp.mh (NATDEPFILES): Likewise. * config/i386/linux.mh (NATDEPFILES): Likewise. * config/i386/nbsd.mh (NATDEPFILES): Likewise. * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. * config/i386/obsd.mh (NATDEPFILES): Likewise. * config/i386/x86-64linux.mh (NATDEPFILES): Likewise.
2002-05-11* Makefile.in (ALLDEPFILES): Remove alphanbsd-nat.c.Jason Thorpe1-1/+1
(alphanbsd-nat.o): Remove dependency list. (alphanbsd-tdep.o): Add $(regcache_h) to dependency list. * alphanbsd-nat.c: Delete. Contents moved to... * alphanbsd-tdep.c: ...here. (_initialize_alphanbsd_tdep): Register core functions. * config/alpha/nbsd.mh (NATDEPFILES): Remove alphanbsd-nat.o.
2002-05-11* Makefile.in (ALLDEPFILES): Add alphabsd-tdep.c.Jason Thorpe2-2/+2
(alphabsd-nat.o): Depend on alphabsd-tdep.h. (alphanbsd-nat.o): Likewise. (alphabsd-tdep.o): New dependency list. * alphabsd-nat.c (supply_gregset): Use alphabsd_supply_reg. (fill_gregset): Use alphabsd_fill_reg. (supply_fpregset): Use alphabsd_supply_fpreg. (fill_fpregset): Use alphabsd_fill_fpreg. (fetch_inferior_registers): Use struct reg and struct fpreg rather than gregset_t and fpregset_t. Use alphabsd_supply_reg and alphabsd_supply_fpreg. (store_inferior_registers): Use struct reg and struct fpreg rather than gregset_t and fpregset_t. Use alphabsd_fill_reg and alphabsd_fill_fpreg. * alphabsd-tdep.c: New file. * alphabsd-tdep.h: New file. * alphanbsd-nat.c (fetch_core_registers): Use alphabsd_supply_fpreg. (fetch_elfcore_registers): Use alphabsd_supply_reg and alphabsd_supply_fpreg. * config/alpha/fbsd.mt (TDEPFILES): Add alphabsd-tdep.o. * config/alpha/nbsd.mt (TDEPFILES): Likewise.
2002-05-102002-05-10 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-6/+36
New support for sh64-elf (sh5) target. * configure.tgt: For sh64-elf target, default to sh-elf. * config/sh/tm-sh.h (enum sh-abi): Possible ABI's. (struct gdbarch_tdep): Add new fields for new registers and ABI info. * sh-tdep.c: Include elf-bfd.h, elf/sh.h, gdb/sim-sh.h. (NUM_PSEUDO_REGS_SH_MEDIA, NUM_PSEUDO_REGS_SH_COMPACT, MSYMBOL_IS_SPECIAL, IS_ISA32_ADDR, MAKE_ISA32_ADDR, UNMAKE_ISA32_ADDR, IS_PTABSL_R18, IS_STS_R0, IS_STS_PR, IS_MOV_TO_R15, IS_MOV_R14, IS_STQ_R18_R14, IS_STQ_R18_R15, IS_STL_R18_R15, IS_STQ_R14_R15, IS_STL_R14_R15, IS_ADDIL_SP_MEDIA, IS_ADDI_SP_MEDIA, IS_ADDL_SP_FP_MEDIA, IS_ADD_SP_FP_MEDIA, IS_MOV_SP_FP_MEDIA, IS_MOV_R0, IS_MOVL_R0, IS_ADD_SP_R0, IS_MOV_R14_R0, IS_MEDIA_IND_ARG_MOV, IS_MEDIA_ARG_MOV, IS_MEDIA_MOV_TO_R14, IS_COMPACT_IND_ARG_MOV, IS_COMPACT_ARG_MOV, IS_COMPACT_MOV_TO_R14, IS_JSR_R0, IS_NOP): New macros. (sh_sh64_register_name, sh64_elf_make_msymbol_special, pc_is_isa32, sh_sh64_breakpoint_from_pc, look_for_args_moves, sh64_skip_prologue_hard_way, sh64_use_struct_convention, gdb_print_insn_sh64, translate_insn_rn, sh64_frame_chain, sh64_get_saved_pr, fpp_reg_base_num, is_media_pseudo, sh64_get_gdb_regnum, sh64_media_reg_base_num, sh64_compact_reg_base_num, translate_rn_to_arch_reg_num, sign_extend, sh64_nofp_frame_init_saved_regs, sh64_init_extra_frame_info, sh64_get_saved_register, sh64_extract_struct_value_address, sh64_pop_frame, sh64_push_arguments, sh64_extract_return_value, sh64_store_return_value, sh64_show_media_regs, sh64_show_compact_regs, sh64_show_regs, sh_sh64_register_byte, sh_sh64_register_raw_size, sh_sh64_register_virtual_size, sh_sh64_register_virtual_type, sh_sh64_register_convert_to_virtual, sh_sh64_register_convert_to_raw, sh64_pseudo_register_read, sh64_register_read, sh64_pseudo_register_write, sh64_register_write, do_fv_c_register_info, do_dr_c_register_info, do_r_c_register_info, do_fpp_register_info, do_cr_c_register_info, sh64_do_pseudo_register, sh_compact_do_registers_info, sh64_do_registers_info, sh_gdbarch_init): New functions.
2002-05-08* config/djgpp/fnchange.lst: Add alphanbsd-nat.c andJason Thorpe1-0/+2
alphanbsd-tdep.c.
2002-05-08* sh-nbsd-nat.c: Rename to...Jason Thorpe2-2/+2
* shnbsd-nat.c: ...this. * sh-nbsd-tdep.c: Rename to... * shnbsd-tdep.c: ...this. * sh-nbsd-tdep.h: Rename to... * shnbsd-tdep.h: ...this. * config/sh/nbsd.mh: Use shnbsd-nat.o. * config/sh/nbsd.mt: Use shnbsd-tdep.o.
2002-05-08* NEWS: Note new sh*-*-netbsdelf* configuration.Jason Thorpe4-0/+66
* configure.host: Set gdb_host_cpu to sh for all sh*. (sh*-*-netbsdelf*): New host. * configure.tgt: Set gdb_target_cpu to sh for all sh*. (sh*-*-netbsdelf*): New target. * sh-nbsd-nat.c: New file. * sh-nbsd-tdep.c: New file. * sh-nbsd-tdep.h: New file. * config/sh/nbsd.mh: New file. * config/sh/nbsd.mt: New file. * config/sh/nm-nbsd.h: New file. * config/sh/tm-nbsd.h: New file.
2002-05-08* sh-tdep.c (sh_osabi_names): Declare.Jason Thorpe1-1/+14
(process_note_abi_tag_sections): New function. (get_elfosabi): Ditto. (sh_gdbarch_register_os_abi): Ditto. (sh_dump_tdep): Ditto. _initialize_sh_tdep): Use gdbarch_register to register sh_gdbarch_init and sh_dump_tdep. * config/sh/tm-sh.h (sh_osabi): Declare. (gdbarch_tdep): Add sh_osabi and osabi_name members.
2002-05-04* MAINTAINERS: Mark a29k as deleted.Andrew Cagney24-1011/+0
* NEWS: Mention that a29k was removed. Add OBSOLETE section. Move new configurations to the top. * configure.tgt: Remove a29k. * config/a29k/tm-vx29k.h: Delete. * config/a29k/vx29k.mt: Delete. * config/a29k/tm-a29k.h: Delete. * config/a29k/a29k-udi.mt: Delete. * config/a29k/a29k.mt: Delete. * a29k-tdep.c: Delete. * remote-udi.c: Delete. * remote-mm.c: Delete. * remote-eb.c: Delete. * remote-adapt.c: Delete. * Makefile.in: Remove obsolete code. * gdbserver/Makefile.in: Ditto. * config/s390/s390x.mt: Ditto. * config/s390/s390.mt: Ditto. * config/sparc/sparclynx.mh: Ditto. * config/sparc/linux.mh: Ditto. * config/pa/hppaosf.mh: Ditto. * config/pa/hppabsd.mh: Ditto. * config/ns32k/nbsd.mt: Ditto. * config/mips/vr5000.mt: Ditto. * config/m68k/sun3os4.mh: Ditto. * config/m68k/nbsd.mt: Ditto. * config/m68k/m68klynx.mh: Ditto. * config/m32r/m32r.mt: Ditto. * config/i386/x86-64linux.mt: Ditto. * config/i386/nbsdelf.mt: Ditto. * config/i386/nbsd.mt: Ditto. * config/i386/i386lynx.mh: Ditto.
2002-05-022002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller1-1/+1
* config/m68k/tm-nbsd.h: Obvious fix, correct machine name.
2002-05-01* config/mn10200/tm-mn10200.h: Include "symfile.h" and "symtab.h".Andrew Cagney3-3/+12
* config/mcore/tm-mcore.h: Ditto. Update copyright. * config/v850/tm-v850.h: Ditto. Update copyright.
2002-04-28 * config/s390/s390.mh (NATDEPFILES): Remove solib.o, addAndreas Schwab1-3/+3
linux-proc.o and gcore.o.
2002-04-26* alpha-tdep.h (gdbarch_tdep): Add sigcontext_addr member.Jason Thorpe2-12/+0
* alpha-tdep.c (alpha_sigcontext_addr): New function. (alpha_find_saved_regs): Use alpha_sigcontext_addr. (alpha_gdbarch_init): Initialize tdep->sigcontext_addr. * alpha-linux-tdep.c: Include frame.h. (alpha_linux_sigcontext_addr): New function. (alpha_linux_init_abi): Set tdep->sigcontext_addr to alpha_linux_sigcontext_addr. * alpha-osf1-tdep.c: Include gdbcore.h. (alpha_osf1_sigcontext_addr): New function. (alpha_osf1_init_abi): Set tdep->sigcontext_addr to alpha_osf1_sigcontext_addr. * config/alpha/tm-alpha.h (SIGCONTEXT_ADDR): Remove. * config/alpha/tm-alphalinux.h (SIGCONTEXT_ADDR): Remove.
2002-04-262002-04-24 David S. Miller <davem@redhat.com>David S. Miller1-2/+2
* sparc-tdep.c (sparc_gdbarch_skip_prologue): Kill, duplicates sparc_skip_prologue. (sparc_skip_prologue): Kill frameless_p arg, and use line number information to find prologue when possible. (sparc_prologue_frameless_p): Call examine_prologue directly. (sparc_gdbarch_init): Update set_gdbarch_skip_prologue call. * config/sparc/tm-sparc.h (sparc_skip_prologue): Update for killed second argument. (SKIP_PROLOGUE): Likewise.
2002-04-26* alpha-tdep.c (alpha_skip_prologue_internal): RemoveJason Thorpe3-11/+0
GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to indicate that the condition it was testing is always true. * config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove. * config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. * config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto.
2002-04-26* alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members.Jason Thorpe2-18/+0
* alpha-linux-tdep.c (alpha_linux_init_abi): Initialize tdep->jb_pc and tdep->jb_elt_size. * alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise. * alphafbsd-tdep.c (alphafbsd_init_abi): Likewise. * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. * alpha-nat.c (get_longjmp_target): Remove. (JB_ELEMENT_SIZE): Ditto. (JB_PC): Ditto. * alpha-tdep.c (alpha_get_longjmp_target): New function. (alpha_gdbarch_init): Default tdep->jb_pc to -1. If the OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target to alpha_get_longjmp_target. (alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size. * config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove. * config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove.
2002-04-25* Makefile.in: Add support for AVR target.Theodore A. Roth1-0/+12
* configure.tgt: Add support for AVR target. * avr-tdep.c: New file * config/avr/avr.mt: New file.