diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-05-04 23:47:15 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-05-04 23:47:15 +0000 |
commit | 827f338d26249fc3e9e8798baa7f50c922c6875f (patch) | |
tree | 04a3fbb14a8fef901932ab32a25349481e09ce34 /gdb/config/m68k | |
parent | 619874a6bd0cc10b0562fde77f546c0dd8c99f19 (diff) | |
download | gdb-827f338d26249fc3e9e8798baa7f50c922c6875f.zip gdb-827f338d26249fc3e9e8798baa7f50c922c6875f.tar.gz gdb-827f338d26249fc3e9e8798baa7f50c922c6875f.tar.bz2 |
* m68knbsd-nat.c: Remove file.
* m68knbsd-tdep.c: Remove file.
* Makefile.in: (m68knbsd-nat.o, m68knbsd-tdep.o): Remove
dependencies.
* configure.host: Add m68k-*-netbsdelf*.
* configure.tgt (m68k-*-netbsd*): Set gdb_target to nbsd.
* config/m68k/nbsdaout.mh (NATDEPFILES): Add m68kbsd-nat.o,
solib.o and solib-sunos.o. Remove m68knbsd-nat.o, corelow.o.
(XM_FILE): Remove.
* config/m68k/nbsdelf.mh: New file.
* config/m68k/nbsd.mt: New file.
* config/m68k/nbsdaout.mt: Remove file.
* config/m68k/tm-nbsd.h: Don't include <sys/param.h>,
<machine/vmparam.h> and "m68k/tm-m68k.h". Include "solib.h".
(BPT_VECTOR, STACK_END_ADDR): Remove defines.
(DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Likewise.
(use_struct_convention): Remove prototype.
(USE_STRUCT_CONVENTION): Remove define.
* config/m68k/xm-nbsd.h: Remove file.
Diffstat (limited to 'gdb/config/m68k')
-rw-r--r-- | gdb/config/m68k/nbsd.mt | 3 | ||||
-rw-r--r-- | gdb/config/m68k/nbsdaout.mh | 5 | ||||
-rw-r--r-- | gdb/config/m68k/nbsdaout.mt | 3 | ||||
-rw-r--r-- | gdb/config/m68k/nbsdelf.mh | 3 | ||||
-rw-r--r-- | gdb/config/m68k/tm-nbsd.h | 28 | ||||
-rw-r--r-- | gdb/config/m68k/xm-nbsd.h | 22 |
6 files changed, 11 insertions, 53 deletions
diff --git a/gdb/config/m68k/nbsd.mt b/gdb/config/m68k/nbsd.mt new file mode 100644 index 0000000..1c77253 --- /dev/null +++ b/gdb/config/m68k/nbsd.mt @@ -0,0 +1,3 @@ +# Target: NetBSD/m68k +TDEPFILES= m68k-tdep.o m68kbsd-tdep.o corelow.o solib.o solib-svr4.o +TM_FILE= tm-nbsd.h diff --git a/gdb/config/m68k/nbsdaout.mh b/gdb/config/m68k/nbsdaout.mh index 7ce279b..90a43d7 100644 --- a/gdb/config/m68k/nbsdaout.mh +++ b/gdb/config/m68k/nbsdaout.mh @@ -1,5 +1,4 @@ -# Host: Motorola m68k running NetBSD -NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o m68knbsd-nat.o \ +# Host: NetBSD/m68k a.out +NATDEPFILES= m68kbsd-nat.o fork-child.o infptrace.o inftarg.o \ solib.o solib-sunos.o -XM_FILE= xm-nbsd.h NAT_FILE= nm-nbsdaout.h diff --git a/gdb/config/m68k/nbsdaout.mt b/gdb/config/m68k/nbsdaout.mt deleted file mode 100644 index b6ac5a0..0000000 --- a/gdb/config/m68k/nbsdaout.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Motorola m68k running NetBSD -TDEPFILES= m68k-tdep.o m68knbsd-tdep.o -TM_FILE= tm-nbsd.h diff --git a/gdb/config/m68k/nbsdelf.mh b/gdb/config/m68k/nbsdelf.mh new file mode 100644 index 0000000..d15e132 --- /dev/null +++ b/gdb/config/m68k/nbsdelf.mh @@ -0,0 +1,3 @@ +# Host: NetBSD/m68k ELF +NATDEPFILES= m68kbsd-nat.o fork-child.o infptrace.o inftarg.o +NAT_FILE= nm-nbsd.h diff --git a/gdb/config/m68k/tm-nbsd.h b/gdb/config/m68k/tm-nbsd.h index 04a5272..6215cf6 100644 --- a/gdb/config/m68k/tm-nbsd.h +++ b/gdb/config/m68k/tm-nbsd.h @@ -1,4 +1,4 @@ -/* Macro definitions for m68k running under NetBSD. +/* Target-dependent definitions for NetBSD/m68k. Copyright 1994, 1996, 2001, 2004 Free Software Foundation, Inc. @@ -22,28 +22,6 @@ #ifndef TM_NBSD_H #define TM_NBSD_H -#include <sys/param.h> -#include <machine/vmparam.h> +#include "solib.h" -/* Define BPT_VECTOR if it is different than the default. - This is the vector number used by traps to indicate a breakpoint. */ -#define BPT_VECTOR 0xf - -/* Address of end of stack space. */ -#define STACK_END_ADDR USRSTACK - -/* For NetBSD, sigtramp is 32 bytes before STACK_END_ADDR. */ -#define DEPRECATED_IN_SIGTRAMP(PC,FUNC_NAME) \ -((PC) >= (STACK_END_ADDR - 32) && (PC) < (STACK_END_ADDR)) - -#include "m68k/tm-m68k.h" - -/* Return non-zero if we are in a shared library trampoline code stub. */ -#define IN_SOLIB_CALL_TRAMPOLINE(pc, name) \ - (name && !strcmp(name, "_DYNAMIC")) - -extern use_struct_convention_fn m68knbsd_use_struct_convention; -#define USE_STRUCT_CONVENTION(gcc_p, type) \ - m68knbsd_use_struct_convention(gcc_p, type) - -#endif /* TM_NBSD_H */ +#endif /* tm-nbsd.h */ diff --git a/gdb/config/m68k/xm-nbsd.h b/gdb/config/m68k/xm-nbsd.h deleted file mode 100644 index 6c735fa..0000000 --- a/gdb/config/m68k/xm-nbsd.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Parameters for execution on a Motorola m68k running NetBSD, for GDB. - Copyright 1996 Free Software Foundation, Inc. - - This file is part of GDB. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ - -/* Get generic NetBSD host definitions. */ -#include "config/xm-nbsd.h" |