forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
3
gdb/config/m68k/nbsd.mt
Normal file
3
gdb/config/m68k/nbsd.mt
Normal file
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
# Target: Motorola m68k running NetBSD
|
||||
TDEPFILES= m68k-tdep.o m68knbsd-tdep.o
|
||||
TM_FILE= tm-nbsd.h
|
||||
3
gdb/config/m68k/nbsdelf.mh
Normal file
3
gdb/config/m68k/nbsdelf.mh
Normal file
@@ -0,0 +1,3 @@
|
||||
# Host: NetBSD/m68k ELF
|
||||
NATDEPFILES= m68kbsd-nat.o fork-child.o infptrace.o inftarg.o
|
||||
NAT_FILE= nm-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 */
|
||||
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user