diff options
author | Steve Chamberlain <sac@cygnus> | 1996-02-01 18:39:00 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1996-02-01 18:39:00 +0000 |
commit | 3d78f53277a7eb4bd064e4eddbc578132140e750 (patch) | |
tree | e0f97fdc134f72ab799452e23b1fc03550a306d7 /gdb/config/powerpc | |
parent | 9daacfc4e493fe886bc3374fe41d26671cef841c (diff) | |
download | gdb-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/powerpc')
-rw-r--r-- | gdb/config/powerpc/.Sanitize | 4 | ||||
-rw-r--r-- | gdb/config/powerpc/cygwin32.mh | 6 | ||||
-rw-r--r-- | gdb/config/powerpc/cygwin32.mt | 6 | ||||
-rw-r--r-- | gdb/config/powerpc/tm-cygwin32.h | 21 | ||||
-rw-r--r-- | gdb/config/powerpc/xm-cygwin32.h | 41 |
5 files changed, 78 insertions, 0 deletions
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 + + + + + + |