forked from Imagelibrary/binutils-gdb
* configure.in (*-*-netbsd*): Set COREFILE to netbsd-core.c.
don't define TRAD_HEADER. * configure: Rebuild. * netbsd-core.c: New file, support for NetBSD core files. * hosts/*nbsd.h: Removed.
This commit is contained in:
@@ -32,22 +32,16 @@ hp300bsd.h
|
||||
i386bsd.h
|
||||
i386linux.h
|
||||
i386mach3.h
|
||||
i386nbsd.h
|
||||
i386sco.h
|
||||
i860mach3.h
|
||||
m68kaux.h
|
||||
m68knbsd.h
|
||||
m88kmach3.h
|
||||
mipsbsd.h
|
||||
mipsnbsd.h
|
||||
mipsmach3.h
|
||||
nbsd.h
|
||||
news-mips.h
|
||||
news.h
|
||||
ns32knbsd.h
|
||||
pc532mach.h
|
||||
riscos.h
|
||||
sparcnbsd.h
|
||||
symmetry.h
|
||||
tahoe.h
|
||||
vaxbsd.h
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
/* Intel 386 running NetBSD */
|
||||
|
||||
#ifndef hosts_i386bsd_H
|
||||
#define hosts_i386bsd_H
|
||||
|
||||
#include "hosts/nbsd.h"
|
||||
|
||||
#define HOST_MACHINE_ARCH bfd_arch_i386
|
||||
|
||||
#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
|
||||
#endif
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
/* m68k hosts running NetBSD */
|
||||
|
||||
#ifndef hosts_m68knbsd_h
|
||||
#define hosts_m68knbsd_h
|
||||
|
||||
#include "hosts/nbsd.h"
|
||||
|
||||
#define HOST_MACHINE_ARCH bfd_arch_m68k
|
||||
|
||||
#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
|
||||
#endif
|
||||
@@ -1,13 +0,0 @@
|
||||
/* mips running NetBSD */
|
||||
|
||||
#ifndef hosts_mips
|
||||
#define hosts_mips
|
||||
|
||||
#include "hosts/nbsd.h"
|
||||
|
||||
#define HOST_MACHINE_ARCH bfd_arch_mips
|
||||
|
||||
#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
|
||||
#endif
|
||||
@@ -1,14 +0,0 @@
|
||||
/* Architecture independant NetBSD host support */
|
||||
|
||||
#include <machine/endian.h>
|
||||
#include <machine/vmparam.h>
|
||||
#include <machine/param.h>
|
||||
#include <machine/reg.h>
|
||||
|
||||
#define HOST_PAGE_SIZE NBPG
|
||||
#define HOST_TEXT_START_ADDR USRTEXT
|
||||
#define HOST_STACK_END_ADDR USRSTACK
|
||||
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
#define HOST_BIG_ENDIAN_P
|
||||
#endif
|
||||
@@ -1,13 +0,0 @@
|
||||
/* ns32k running NetBSD */
|
||||
|
||||
#ifndef hosts_ns32knbsd_h
|
||||
#define hosts_ns32knbsd_h
|
||||
|
||||
#include "hosts/nbsd.h"
|
||||
|
||||
#define HOST_MACHINE_ARCH bfd_arch_ns32k
|
||||
|
||||
#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
|
||||
#endif
|
||||
@@ -1,18 +0,0 @@
|
||||
/* Sparc running NetBSD */
|
||||
|
||||
#ifndef hosts_sparcnbsd_h
|
||||
#define hosts_sparcnbsd_h
|
||||
|
||||
#include "hosts/nbsd.h"
|
||||
|
||||
#define HOST_MACHINE_ARCH bfd_arch_sparc
|
||||
|
||||
#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
|
||||
Reference in New Issue
Block a user