aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1996-02-01 18:39:00 +0000
committerSteve Chamberlain <sac@cygnus>1996-02-01 18:39:00 +0000
commit3d78f53277a7eb4bd064e4eddbc578132140e750 (patch)
treee0f97fdc134f72ab799452e23b1fc03550a306d7 /gdb/config
parent9daacfc4e493fe886bc3374fe41d26671cef841c (diff)
downloadgdb-3d78f53277a7eb4bd064e4eddbc578132140e750.zip
gdb-3d78f53277a7eb4bd064e4eddbc578132140e750.tar.gz
gdb-3d78f53277a7eb4bd064e4eddbc578132140e750.tar.bz2
* config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,
xm-cygwin32.h): New. * config/i386/(*win32*): Becomes *cygwin32*. * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32. (powerpcle-*-cygwin32): New. * configure: Regenerate. * win32-nat.c (child_create_inferior): Call CreateProcess with the right program arg.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/i386/.Sanitize8
-rw-r--r--gdb/config/i386/cygwin32.mh (renamed from gdb/config/i386/win32.mh)2
-rw-r--r--gdb/config/i386/cygwin32.mt (renamed from gdb/config/i386/win32.mt)2
-rw-r--r--gdb/config/i386/tm-cygwin32.h (renamed from gdb/config/i386/tm-win32.h)0
-rw-r--r--gdb/config/i386/xm-cygwin32.h (renamed from gdb/config/i386/xm-win32.h)0
-rw-r--r--gdb/config/powerpc/.Sanitize4
-rw-r--r--gdb/config/powerpc/cygwin32.mh6
-rw-r--r--gdb/config/powerpc/cygwin32.mt6
-rw-r--r--gdb/config/powerpc/tm-cygwin32.h21
-rw-r--r--gdb/config/powerpc/xm-cygwin32.h41
10 files changed, 84 insertions, 6 deletions
diff --git a/gdb/config/i386/.Sanitize b/gdb/config/i386/.Sanitize
index 4d7b4e7..df1ddf0 100644
--- a/gdb/config/i386/.Sanitize
+++ b/gdb/config/i386/.Sanitize
@@ -96,9 +96,9 @@ tm-ptx.h
tm-ptx4.h
tm-sun386.h
tm-symmetry.h
-tm-win32.h
-win32.mh
-win32.mt
+tm-cygwin32.h
+cygwin32.mh
+cygwin32.mt
xm-go32.h
xm-i386aix.h
xm-i386bsd.h
@@ -116,7 +116,7 @@ xm-ptx.h
xm-ptx4.h
xm-sun386.h
xm-symmetry.h
-xm-win32.h
+xm-cygwin32.h
Things-to-lose:
diff --git a/gdb/config/i386/win32.mh b/gdb/config/i386/cygwin32.mh
index 7b5f4e8..25f15cf 100644
--- a/gdb/config/i386/win32.mh
+++ b/gdb/config/i386/cygwin32.mh
@@ -1,5 +1,5 @@
MH_CFLAGS=
-XM_FILE=xm-win32.h
+XM_FILE=xm-cygwin32.h
TERMCAP=
NATDEPFILES=win32-nat.o
XM_CLIBS=-lkernel32
diff --git a/gdb/config/i386/win32.mt b/gdb/config/i386/cygwin32.mt
index be484c4..22b4547 100644
--- a/gdb/config/i386/win32.mt
+++ b/gdb/config/i386/cygwin32.mt
@@ -1,6 +1,6 @@
# Target: Intel 386 run win32
TDEPFILES= i386-tdep.o i387-tdep.o
-TM_FILE= tm-win32.h
+TM_FILE= tm-cygwin32.h
diff --git a/gdb/config/i386/tm-win32.h b/gdb/config/i386/tm-cygwin32.h
index f7464ba..f7464ba 100644
--- a/gdb/config/i386/tm-win32.h
+++ b/gdb/config/i386/tm-cygwin32.h
diff --git a/gdb/config/i386/xm-win32.h b/gdb/config/i386/xm-cygwin32.h
index becbebe..becbebe 100644
--- a/gdb/config/i386/xm-win32.h
+++ b/gdb/config/i386/xm-cygwin32.h
diff --git a/gdb/config/powerpc/.Sanitize b/gdb/config/powerpc/.Sanitize
index 49bf7aa..48bfd7a 100644
--- a/gdb/config/powerpc/.Sanitize
+++ b/gdb/config/powerpc/.Sanitize
@@ -27,6 +27,8 @@ aix.mh
aix.mt
aix4.mh
aix4.mt
+cygwin32.mh
+cygwin32.mt
gdbserve.mt
macos.mh
macos.mt
@@ -37,6 +39,7 @@ ppc-nw.mt
ppc-sim.mt
ppcle-eabi.mt
ppcle-sim.mt
+tm-cygwin32.h
tm-macos.h
tm-ppc-aix.h
tm-ppc-aix4.h
@@ -45,6 +48,7 @@ tm-ppc-nw.h
tm-ppc-sim.h
tm-ppcle-eabi.h
tm-ppcle-sim.h
+xm-cygwin32.h
xm-aix.h
xm-mpw.h
diff --git a/gdb/config/powerpc/cygwin32.mh b/gdb/config/powerpc/cygwin32.mh
new file mode 100644
index 0000000..25f15cf
--- /dev/null
+++ b/gdb/config/powerpc/cygwin32.mh
@@ -0,0 +1,6 @@
+MH_CFLAGS=
+XM_FILE=xm-cygwin32.h
+TERMCAP=
+NATDEPFILES=win32-nat.o
+XM_CLIBS=-lkernel32
+
diff --git a/gdb/config/powerpc/cygwin32.mt b/gdb/config/powerpc/cygwin32.mt
new file mode 100644
index 0000000..30783c9
--- /dev/null
+++ b/gdb/config/powerpc/cygwin32.mt
@@ -0,0 +1,6 @@
+# Target: Powerpc running cygnus's unix api over win32
+TDEPFILES= rs6000-tdep.o
+TM_FILE= tm-cygwin32.h
+
+
+
diff --git a/gdb/config/powerpc/tm-cygwin32.h b/gdb/config/powerpc/tm-cygwin32.h
new file mode 100644
index 0000000..27ae24a
--- /dev/null
+++ b/gdb/config/powerpc/tm-cygwin32.h
@@ -0,0 +1,21 @@
+/* Macro definitions PowerPC running under the Cygwin API.
+ 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. */
+
+#include "powerpc/tm-ppcle-eabi.h"
+
diff --git a/gdb/config/powerpc/xm-cygwin32.h b/gdb/config/powerpc/xm-cygwin32.h
new file mode 100644
index 0000000..becbebe
--- /dev/null
+++ b/gdb/config/powerpc/xm-cygwin32.h
@@ -0,0 +1,41 @@
+/* Definitions for hosting on WIN32, for GDB.
+ Copyright 1995, 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. */
+
+#define HOST_BYTE_ORDER LITTLE_ENDIAN
+
+#include "fopen-bin.h"
+
+#define GDBINIT_FILENAME "gdb.ini"
+
+
+#define SLASH_P(X) ((X)=='\\' || (X) == '/')
+#define ROOTED_P(X) ((SLASH_P((X)[0]))|| ((X)[1] ==':'))
+#define SLASH_CHAR '/'
+#define SLASH_STRING "/"
+
+
+/* If we longjmp out of the signal handler we never get another one.
+ So disable immediate_quit inside request_quit */
+#define REQUEST_QUIT
+
+
+
+
+
+