From 5d76c8e66273baf43bfee19c3341e605d4a09ad8 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 15 Oct 1993 04:26:06 +0000 Subject: * fork-child.c (fork_inferior), remote-eb.c (eb_create_inferior), remote-mon.c (monitor_create_inferior), remote-nindy.c (nindy_create_inferior), remote-st.c (st2000_create_inferior), remote-vx.c (vx_create_inferior): Remove CREATE_INFERIOR_HOOK; it is replaced by init_trace_fun. * config/convex/xm-convex.h, convex-xdep.c: Add comments explaining how to do without CREATE_INFERIOR_HOOK for whoever fixes the Convex port. * Makefile.in: Add Mach files to ALLDEPFILES, etc. * m3-nat.c: Clean up more hair--message(), cprocs. * configure.in: Recognize Mach targets and hosts. * config/ns32k/tm-umax.h: Add some #ifndef's so tm-ns32km3.h can include this file. * Mach headers in config/*/tm-*.h: Fix includes to match correct locations of files. --- gdb/config/i386/tm-i386m3.h | 7 ++----- gdb/config/i386/tm-i386mk.h | 2 +- gdb/config/mips/tm-mipsm3.h | 4 ++-- gdb/config/ns32k/tm-ns32km3.h | 4 ++-- gdb/config/ns32k/tm-umax.h | 6 ++++++ 5 files changed, 13 insertions(+), 10 deletions(-) (limited to 'gdb/config') diff --git a/gdb/config/i386/tm-i386m3.h b/gdb/config/i386/tm-i386m3.h index 0c70930..f05081c 100644 --- a/gdb/config/i386/tm-i386m3.h +++ b/gdb/config/i386/tm-i386m3.h @@ -18,7 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Include common definitions for Mach3 systems */ -#include "os-mach3.h" +#include "nm-m3.h" /* Define offsets to access CPROC stack when it does not have * a kernel thread. @@ -57,15 +57,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define NAMES_HAVE_UNDERSCORE /* Sigh. There should be a file for i386 but no sysv stuff in it */ -#include "tm-i386v.h" +#include "i386/tm-i386v.h" /* I want to test this float info code. See comment in tm-i386v.h */ #undef FLOAT_INFO #define FLOAT_INFO { i386_mach3_float_info (); } -/* We use a.out format */ -#undef COFF_NO_LONG_FILE_NAMES - /* Address of end of stack space. * for MACH, see * @@@ I don't know what is in the 5 ints... diff --git a/gdb/config/i386/tm-i386mk.h b/gdb/config/i386/tm-i386mk.h index 8035433..3bbb2e0 100644 --- a/gdb/config/i386/tm-i386mk.h +++ b/gdb/config/i386/tm-i386mk.h @@ -22,4 +22,4 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ */ #define MK67 1 -#include "tm-i386mach3.h" +#include "i386/tm-i386m3.h" diff --git a/gdb/config/mips/tm-mipsm3.h b/gdb/config/mips/tm-mipsm3.h index 27a03dc..8bad365 100644 --- a/gdb/config/mips/tm-mipsm3.h +++ b/gdb/config/mips/tm-mipsm3.h @@ -24,7 +24,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ */ /* Include common definitions for Mach3 systems */ -#include "os-mach3.h" +#include "nm-m3.h" /* Define offsets to access CPROC stack when it does not have * a kernel thread. @@ -54,7 +54,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Mach supports attach/detach */ #define ATTACH_DETACH 1 -#include "tm-mips.h" +#include "mips/tm-mips.h" /* * On Mach 3.0 this is the number of exec() system calls before diff --git a/gdb/config/ns32k/tm-ns32km3.h b/gdb/config/ns32k/tm-ns32km3.h index 8055f7a..e123759 100644 --- a/gdb/config/ns32k/tm-ns32km3.h +++ b/gdb/config/ns32k/tm-ns32km3.h @@ -18,7 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Include common definitions for Mach3 systems */ -#include "os-mach3.h" +#include "nm-m3.h" /* Define offsets to access CPROC stack when it does not have * a kernel thread. @@ -61,4 +61,4 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ */ #define STACK_END_ADDR USRSTACK -#include "tm-umax.h" +#include "ns32k/tm-umax.h" diff --git a/gdb/config/ns32k/tm-umax.h b/gdb/config/ns32k/tm-umax.h index ded8252..6d3e1ca 100644 --- a/gdb/config/ns32k/tm-umax.h +++ b/gdb/config/ns32k/tm-umax.h @@ -17,6 +17,8 @@ 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ +/* This is also included by tm-ns32km3.h, as well as being used by umax. */ + #define TARGET_BYTE_ORDER LITTLE_ENDIAN /* Need to get function ends by adding this to epilogue address from .bf @@ -50,7 +52,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Address of end of stack space. */ +#ifndef STACK_END_ADDR #define STACK_END_ADDR (0xfffff000) +#endif /* Stack grows downward. */ @@ -70,6 +74,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define ABOUT_TO_RETURN(pc) (read_memory_integer (pc, 1) == 0x12) +#ifndef INVALID_FLOAT #ifndef NaN #include #endif NaN @@ -80,6 +85,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ ((s == sizeof (float))? \ NaF (*(float *) p) : \ NaD (*(double *) p)) +#endif /* INVALID_FLOAT */ /* Say how long (ordinary) registers are. */ -- cgit v1.1