aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/powerpc/nbsd.mh
AgeCommit message (Collapse)AuthorFilesLines
2006-05-12* ppcnbsd-tdep.h: Update copyright year. Include <stddef.h>Mark Kettenis1-3/+2
(ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg) (ppcnbsd_fill_fpreg): Remove prototypes. (struct regset): Add forward declaration. (ppcnbsd_gregset, ppcnbsd_fpregset): Extern declarations. * ppcnbsd-tdep.c: Update copyright year. Include "gdbtypes.h", "regset.h" and "gdb_string.h". Don't include "breakpoint.h", "value.h", target.h and nbsd-tdep.h". Reorder includes. (REG_FIXREG_OFFSET, REG_LR_OFFSET, REG_CR_OFFSET, REG_XER_OFFSET) (REG_CTR_OFFSET, REG_PC_OFFSET, SIZEOF_STRUCT_REG) (FPREG_FPR_OFFSET, FPREG_FPSCR_OFFSET, SIZEOF_STRUCT_FPREG): Remove macros. (ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg) (ppcnbsd_fill_fpreg): Remove functions. (fetch_core_registers, fetch_elfcore_registers): Remove functions. (ppcnbsd_core_fns, ppcnbsd_elfcore_fns): Remove variables. (ppcnbsd_reg_offsets): New variable. (ppcnbsd_gregset, ppcnbsd_fpregset): New variables. (ppcnbsd_sigtramp_cache_init): Deal with new signal trampoline introduced in NetBSD 2.0. (ppcnbsd_sigtramp): Provide complete signal trampoline. (ppcnbsd2_sigtramp): New variable. (ppcnbsd_init_abi): Set svr4_fetch_link_map_offsets to svr4_ilp32_fetch_link_map_offsets. Set regset_from_core_section. Add ppcnbs2_sigtramp unwinder. (_initialize_ppcnbsd_tdep): Don't use deprecated_add_core_fns. Initialize ppcnbsd_reg_offsets. * ppcnbsd-nat.c: Update copyright year. Reorder includes. (getregs_supplies): Use regnum instead of regno. (getfpregs_supplies): Likewise. (ppcnbsd_fetch_inferior_registers): Likewise. Call ppc_supply_gregset and ppc_suppply_fpregset instead of ppcnbsd_supply_reg and ppcnbsd_supply_fpreg (ppcnbsd_store_inferior_registers): Likewise. Call ppc_collect_gregset and ppc_collect_fpregset instead of ppcnbsd_fill_reg and ppcnbsd_fill_fpreg. (ppcnbsd_supply_pcb): Use `gdb_byte *' instead of `char *'. (_initialize_ppcnbsd_nat): Add some whitespace. * Makefile.in (ppcnbsd-nat.o, ppcnbsd-tdep.o): Update dependencies. * config/powerpc/nbsd.mh (NATDEPFILES): Remove infptrace.o. (NAT_FILE): Remove. * config/powerpc/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
2004-10-012004-10-01 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+1
* Makefile.in (COMMON_OBS): Add inf-child.o. * config/vax/obsd.mh (NATDEPFILES): Remove inf-child.o. * config/vax/nbsdelf.mh (NATDEPFILES): Remove inf-child.o. * config/vax/nbsdaout.mh (NATDEPFILES): Remove inf-child.o. * config/powerpc/nbsd.mh (NATDEPFILES): Remove inf-child.o. * config/m88k/obsd.mh (NATDEPFILES): Remove inf-child.o. * config/i386/obsdaout.mh (NATDEPFILES): Remove inf-child.o. * config/i386/obsd64.mh (NATDEPFILES): Remove inf-child.o. * config/i386/obsd.mh (NATDEPFILES): Remove inf-child.o. * config/i386/nbsdelf.mh (NATDEPFILES): Remove inf-child.o. * config/i386/nbsdaout.mh (NATDEPFILES): Remove inf-child.o. * config/i386/nbsd64.mh (NATDEPFILES): Remove inf-child.o. * config/i386/fbsd64.mh (NATDEPFILES): Remove inf-child.o. * config/i386/fbsd.mh (NATDEPFILES): Remove inf-child.o.
2004-09-122004-09-12 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+1
* ppcnbsd-nat.c: Include "inf-ptrace.h". (ppcnbsd_fetch_inferior_registers): Rename fetch_inferior_registers. (ppcnbsd_store_inferior_registers): Rename store_inferior_registers. (_initialize_ppcnbsd_nat): Create and add a NetBSD/PPC ptrace target. * config/powerpc/nbsd.mh (NATDEPFILES): Replace and inftarg.o with inf-ptrace.o and inf-child.o. * inf-ptrace.h, inf-ptrace.c, inf-child.h, inf-child.c: New files. * Makefile.in: Update dependencies.
2004-09-032004-09-03 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+1
* config/vax/nm-obsd.h: Delete file. * config/vax/obsd.mh (NAT_FILE): Set to config/nm-bsd.h. * config/vax/nm-nbsd.h: Delete file. * config/vax/nm-nbsdaout.h: Include config/nm-nbsd.h. * config/vax/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h. * config/sh/nm-nbsd.h: Delete file. * config/sh/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h. * config/rs6000/nm-rs6000ly.h: Delete file. * config/djgpp/fnchange.lst: Do not rename nm-rs6000ly.h. * config/rs6000/rs6000lynx.mh (NAT_FILE): Set to config/nm-lynx.h. * config/powerpc/nm-obsd.h: Delete file. * config/powerpc/obsd.mh (NAT_FILE): Set to config/nm-bsd.h. * config/powerpc/nm-nbsd.h: Delete file. * config/powerpc/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h. * config/pa/nm-obsd.h: Delete file. * config/pa/obsd.mh (NAT_FILE): Set to config/nm-bsd.h. * config/mips/nm-nbsd.h: Delete file. * config/mips/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h. * config/m88k/nm-obsd.h: Delete file. * config/m88k/obsd.mh (NAT_FILE): Set to config/nm-bsd.h. * config/m68k/nm-nbsd.h: Delete file. * config/m68k/nm-nbsdaout.h: Include config/nm-nbsd.h. * config/m68k/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h. * config/i386/nm-nbsd.h: Delete file. * config/i386/nm-nbsdaout.h: Include config/nm-nbsd.h. * config/i386/obsd64.mh (NAT_FILE): Set to config/nm-nbsd.h. * config/i386/nbsd64.mh (NAT_FILE): Set to config/nm-nbsd.h. * config/i386/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h. * config/i386/nm-i386lynx.h: Delete file. * config/i386/i386lynx.mh (NAT_FILE): Set to config/nm-lynx.h. * config/arm/nm-nbsd.h: Delete file. * config/arm/nm-nbsdaout.h: Include config/nm-nbsd.h. * config/arm/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
2004-08-08 * ppcnbsd-nat.c: Include <machine/frame.h>, <machine/pcb.h>,Nathan J. Williams1-1/+3
"gdbcore.h", "regcache.h", and "bsd-kvm.h". (ppcnbsd_supply_pcb): New function. (_initialize_ppcnbsd_nat): New prototype and function. * config/powerpc/nbsd.mh (NATDEPFILES): Add bsd-kvm.o. (LOADLIBES): New variable. * Makefile.in (ppcnbsd-nat.o): Update dependencies.
2002-05-30* Makefile.in (ppc_tdep_h): Define.Jason Thorpe1-1/+1
(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 Thorpe1-2/+1
* 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-11* config/i386/nbsd.mh (NATDEPFILES): Use line continuations.Jason Thorpe1-1/+2
* 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-01-18Remove XDEPFILES from GDB.Andrew Cagney1-1/+0
2001-08-27From 2001-06-29 Andrew Cagney <ac131313@redhat.com>:Andrew Cagney1-1/+0
* config/powerpc/nbsd.mh (XM_FILE): Delete.
2001-03-10Cleanup solib-svr4.c by moving legacy code out to its own file.Kevin Buettner1-1/+1
2001-01-22* ns32k-tdep.c: #include "frame.h"J.T. Conklin1-1/+1
* config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It appears to have been inadvertantly removed sometime in May 1999. * Revert 2000-11-09 changes where shared library objects were moved from NATDEPFILES to TDEPFILES on NetBSD targets. While we'd like to be able to debug dynamically linked executables, this makes it impossible to build a cross debugger on a many hosts. * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES. * config/i386/nbsdelf.mt: Likewise. * config/m68k/nbsd.mt: Likewise. * config/ns32k/nbsd.mt: Likewise. * config/powerpc/nbsd.mt: Likewise. * config/sparc/nbsd.mt: Likewise. * config/sparc/nbsdelf.mt: Likewise. * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES. * config/i386/nbsdelf.mh: Likewise. * config/m68k/nbsd.mh: Likewise. * config/ns32k/nbsd.mh: Likewise. * config/powerpc/nbsd.mh: Likewise. * config/sparc/nbsd.mh: Likewise.
2000-11-09* config/i386/nbsd.mh: Remove solib.o, solib-svr4.o from NATDEPFILES.J.T. Conklin1-1/+1
* config/i386/nbsdelf.mh: Likewise. * config/m68k/nbsd.mh: Likewise. * config/ns32k/nbsd.mh: Likewise. * config/powerpc/nbsd.mh: Likewise. * config/sparc/nbsd.mh: Likewise. * config/sparc/nbsdelf.mh: Likewise. * config/i386/nbsd.mt: Add solib.o, solib-svr4.o to TDEPFILES. * config/i386/nbsdelf.mt: Likewise. * config/m68k/nbsd.mt: Likewise. * config/ns32k/nbsd.mt: Likewise. * config/powerpc/nbsd.mt: Likewise. * config/sparc/nbsd.mt: Likewise.
2000-10-24Reorganize solib.c.Kevin Buettner1-1/+1
2000-06-12Set SER_HARDWIRE using autoconf instead of via XDEPFILES. IncludeAndrew Cagney1-1/+1
ser-tcp.o by default.
2000-05-18* configure.host, configure.tgt (powerpc-*-netbsd*): New entry.J.T. Conklin1-0/+5
* config/powerpc/nbsd.mh, config/powerpc/nbsd.mt, config/powerpc/tm-nbsd.h, config/powerpc/nm-nbsd.h, config/powerpc/xm-nbsd.h: New files.