diff options
author | J.T. Conklin <jtc@acorntoolworks.com> | 1994-09-13 18:39:47 +0000 |
---|---|---|
committer | J.T. Conklin <jtc@acorntoolworks.com> | 1994-09-13 18:39:47 +0000 |
commit | a3f7a777c6e5311ec053afdd70068a2a4a790609 (patch) | |
tree | 4d0a7eaa18f26d46e1e2ee641e76f61aa1e85929 /bfd/hosts/sparcnbsd.h | |
parent | 5e39c987650a04223c961b83d9171f7ada388efe (diff) | |
download | gdb-a3f7a777c6e5311ec053afdd70068a2a4a790609.zip gdb-a3f7a777c6e5311ec053afdd70068a2a4a790609.tar.gz gdb-a3f7a777c6e5311ec053afdd70068a2a4a790609.tar.bz2 |
* configure.host (sparc-*-netbsd): use sparcnbsd.
(ns32k-*-netbsd): use ns32knbsd.
* hosts/{nbsd,i386nbsd,ns32knbsd,sparcnbsd}.h: New files, NetBSD
host support.
* sparcnetbsd.c: New file, adds support for NetBSD/sparc.
* config/sparc-nbsd.mt: Likewise.
* netbsd.h: New file, definitions common to all netbsd ports.
* i386netbsd.c: Use it.
* ns32knetbsd.c: Use it.
* Makefile.in, configure.in, targets.c, config/i386-nbsd.mt,
config/ns32k-nbsd.mt: canonicalize netbsd targets to conform to
file/variable naming conventions.
* i386netbsd.c: New file, renamed from netbsd386.c.
* ns32knetbsd.c: New file, renamed from netbsd532.c.
Diffstat (limited to 'bfd/hosts/sparcnbsd.h')
-rw-r--r-- | bfd/hosts/sparcnbsd.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/bfd/hosts/sparcnbsd.h b/bfd/hosts/sparcnbsd.h new file mode 100644 index 0000000..d5ae6d9 --- /dev/null +++ b/bfd/hosts/sparcnbsd.h @@ -0,0 +1,19 @@ +/* Sparc running NetBSD */ + +#ifndef hosts_sparcnbsd_h +#define hosts_sparcnbsd_h + +#include "hosts/nbsd.h" + +#define HOST_MACHINE_ARCH bfd_arch_sparc +#define HOST_BIG_ENDIAN_P + +#define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(core_bfd) \ + ((core_bfd)->tdata.trad_core_data->u.u_sig) +#define u_comm u_kproc.kp_proc.p_comm +#define TRAD_CORE_REGPOS(core_bfd) \ + ((bfd_vma)(core_bfd)->tdata.trad_core_data->u.u_kproc.kp_proc.p_md.md_tf) + +#define CORE_FPU_OFFSET (sizeof(struct trapframe)) + +#endif |