diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-04-06 16:25:22 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-04-06 16:25:22 +0000 |
commit | b6d085cc23d14435f42a2fa48a2cf365217250da (patch) | |
tree | 66398bd3f2c5e075b6efe2b072dc45b399f1e3cf /gdb | |
parent | e8b49da05f05acd64889ca2b98d903660e44a87d (diff) | |
download | gdb-b6d085cc23d14435f42a2fa48a2cf365217250da.tar.gz |
Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
and powerpc-*-netware* target.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 21 | ||||
-rw-r--r-- | gdb/NEWS | 3 | ||||
-rw-r--r-- | gdb/TODO | 12 | ||||
-rw-r--r-- | gdb/config/powerpc/cygwin.mh | 10 | ||||
-rw-r--r-- | gdb/config/powerpc/cygwin.mt | 7 | ||||
-rw-r--r-- | gdb/config/powerpc/nm-solaris.h | 66 | ||||
-rw-r--r-- | gdb/config/powerpc/ppc-nw.mt | 6 | ||||
-rw-r--r-- | gdb/config/powerpc/solaris.mh | 38 | ||||
-rw-r--r-- | gdb/config/powerpc/solaris.mt | 6 | ||||
-rw-r--r-- | gdb/config/powerpc/tm-cygwin.h | 42 | ||||
-rw-r--r-- | gdb/config/powerpc/tm-ppc-nw.h | 62 | ||||
-rw-r--r-- | gdb/config/powerpc/tm-solaris.h | 148 | ||||
-rw-r--r-- | gdb/config/powerpc/xm-cygwin.h | 82 | ||||
-rw-r--r-- | gdb/config/powerpc/xm-solaris.h | 44 | ||||
-rw-r--r-- | gdb/configure.host | 4 | ||||
-rw-r--r-- | gdb/configure.tgt | 8 |
16 files changed, 293 insertions, 266 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 455f44853c3..6ee409d79bd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,24 @@ +2001-04-05 Andrew Cagney <ac131313@redhat.com> + + Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms + and powerpc-*-netware* target. + * configure.host (powerpcle-*-cygwin*, powerpcle-*-solaris*): + Obsolete. + * configure.tgt (powerpc-*-netware*, powerpcle-*-cygwin*) + (powerpcle-*-solaris*): Obsolete. + * config/powerpc/tm-cygwin.h: Obsolete. + * config/powerpc/cygwin.mt: Obsolete. + * config/powerpc/xm-cygwin.h: Obsolete. + * config/powerpc/cygwin.mh: Obsolete. + * config/powerpc/nm-solaris.h: Obsolete. + * config/powerpc/xm-solaris.h: Obsolete. + * config/powerpc/tm-solaris.h: Obsolete. + * config/powerpc/solaris.mt: Obsolete. + * config/powerpc/tm-ppc-nw.h: Obsolete. + * config/powerpc/ppc-nw.mt: Obsolete. + * TODO: Update. + * NEWS: Update. + 2001-04-06 Fernando Nasser <fnasser@redhat.com> * buildsym.c (record_line): Turn off unused addr bits. @@ -21,6 +21,9 @@ Most ns32k hosts and targets ns32k-*-mach3* ns32k-umax-* TI TMS320C80 tic80-*-* WDC 65816 w65-*-* Ultracomputer (29K) running Sym1 a29k-nyu-sym1 a29k-*-kern* +PowerPC Solaris powerpcle-*-solaris* +PowerPC Windows NT powerpcle-*-cygwin32 +PowerPC Netware powerpc-*-netware* stuff.c (Program to stuff files into a specially prepared space in kdb) kdb-start.c (Main loop for the standalone kernel debugger) @@ -196,10 +196,10 @@ Steps: a29k-*-* a29k ultra3 - yes a29k-*-sym1* a29k - ultra3 yes a29k-*-kern* a29k - a29k-kern yes - powerpcle-*-solaris* powerpc solaris solaris - powerpcle-*-cygwin* powerpc cygwin cygwin - powerpc-*-netware* powerpc - ppc-nw - w65-*-* w65 - w65 yes + powerpcle-*-solaris* powerpc solaris solaris yes + powerpcle-*-cygwin* powerpc cygwin cygwin yes + powerpc-*-netware* powerpc - ppc-nw yes + w65-*-* w65 - w65 yes i[3456]86-*-sunos* i386 sun386 sun386 (DONE) @@ -222,6 +222,10 @@ Steps: -- +Zap still more of that nonexistant romp target. + +-- + Fix copyright notices. Turns out that ``1998-2000'' isn't considered valid :-( diff --git a/gdb/config/powerpc/cygwin.mh b/gdb/config/powerpc/cygwin.mh index 9001a7d4a90..fff9698fb1c 100644 --- a/gdb/config/powerpc/cygwin.mh +++ b/gdb/config/powerpc/cygwin.mh @@ -1,5 +1,5 @@ -MH_CFLAGS= -XM_FILE=xm-cygwin.h -XDEP_FILES= -NATDEPFILES=win32-nat.o -XM_CLIBS=-lkernel32 +# OBSOLETE MH_CFLAGS= +# OBSOLETE XM_FILE=xm-cygwin.h +# OBSOLETE XDEP_FILES= +# OBSOLETE NATDEPFILES=win32-nat.o +# OBSOLETE XM_CLIBS=-lkernel32 diff --git a/gdb/config/powerpc/cygwin.mt b/gdb/config/powerpc/cygwin.mt index 13a60f1e1fa..004e18ac9cd 100644 --- a/gdb/config/powerpc/cygwin.mt +++ b/gdb/config/powerpc/cygwin.mt @@ -1,6 +1,5 @@ -# Target: Powerpc running cygnus's unix api over win32 -TDEPFILES= rs6000-tdep.o ppc-linux-tdep.o -TM_FILE= tm-cygwin.h - +# OBSOLETE # Target: Powerpc running cygnus's unix api over win32 +# OBSOLETE TDEPFILES= rs6000-tdep.o ppc-linux-tdep.o +# OBSOLETE TM_FILE= tm-cygwin.h diff --git a/gdb/config/powerpc/nm-solaris.h b/gdb/config/powerpc/nm-solaris.h index 5a2a014964e..320b2cc50ec 100644 --- a/gdb/config/powerpc/nm-solaris.h +++ b/gdb/config/powerpc/nm-solaris.h @@ -1,33 +1,33 @@ -/* Native-dependent definitions for PowerPC running Solaris. - 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 "regcache.h" - -/* Include the generic SVR4 definitions. */ - -#include <nm-sysv4.h> - -/* Before storing, we need to read all the registers. */ - -#define CHILD_PREPARE_TO_STORE() read_register_bytes (0, NULL, REGISTER_BYTES) - -/* Solaris PSRVADDR support does not seem to include a place for nPC. */ - -#define PRSVADDR_BROKEN +/* OBSOLETE /* Native-dependent definitions for PowerPC running Solaris. */ +/* OBSOLETE Copyright 1996 Free Software Foundation, Inc. */ +/* OBSOLETE */ +/* OBSOLETE This file is part of GDB. */ +/* OBSOLETE */ +/* OBSOLETE This program is free software; you can redistribute it and/or modify */ +/* OBSOLETE it under the terms of the GNU General Public License as published by */ +/* OBSOLETE the Free Software Foundation; either version 2 of the License, or */ +/* OBSOLETE (at your option) any later version. */ +/* OBSOLETE */ +/* OBSOLETE This program is distributed in the hope that it will be useful, */ +/* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* OBSOLETE GNU General Public License for more details. */ +/* OBSOLETE */ +/* OBSOLETE You should have received a copy of the GNU General Public License */ +/* OBSOLETE along with this program; if not, write to the Free Software */ +/* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, */ +/* OBSOLETE Boston, MA 02111-1307, USA. */ */ +/* OBSOLETE */ +/* OBSOLETE #include "regcache.h" */ +/* OBSOLETE */ +/* OBSOLETE /* Include the generic SVR4 definitions. */ */ +/* OBSOLETE */ +/* OBSOLETE #include <nm-sysv4.h> */ +/* OBSOLETE */ +/* OBSOLETE /* Before storing, we need to read all the registers. */ */ +/* OBSOLETE */ +/* OBSOLETE #define CHILD_PREPARE_TO_STORE() read_register_bytes (0, NULL, REGISTER_BYTES) */ +/* OBSOLETE */ +/* OBSOLETE /* Solaris PSRVADDR support does not seem to include a place for nPC. */ */ +/* OBSOLETE */ +/* OBSOLETE #define PRSVADDR_BROKEN */ diff --git a/gdb/config/powerpc/ppc-nw.mt b/gdb/config/powerpc/ppc-nw.mt index 3601b4e8fa7..f9788201805 100644 --- a/gdb/config/powerpc/ppc-nw.mt +++ b/gdb/config/powerpc/ppc-nw.mt @@ -1,3 +1,3 @@ -# Target: PowerPC running Netware -TDEPFILES= rs6000-tdep.o ppc-linux-tdep.o -TM_FILE= tm-ppc-nw.h +# OBSOLETE # Target: PowerPC running Netware +# OBSOLETE TDEPFILES= rs6000-tdep.o ppc-linux-tdep.o +# OBSOLETE TM_FILE= tm-ppc-nw.h diff --git a/gdb/config/powerpc/solaris.mh b/gdb/config/powerpc/solaris.mh index 8600cb077b5..56d35a7ff7d 100644 --- a/gdb/config/powerpc/solaris.mh +++ b/gdb/config/powerpc/solaris.mh @@ -1,19 +1,19 @@ -# Host: PowerPC, running Solaris 2 - -XM_FILE= xm-solaris.h -XDEPFILES= -XM_CLIBS= -lsocket -lnsl - -NAT_FILE= nm-solaris.h -NATDEPFILES= corelow.o core-sol2.o solib.o solib-svr4.o solib-legacy.o \ - fork-child.o procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o - -# If you are compiling with Sun's compiler, add the -xs option to CC -# (e.g. `make CC="cc -xs"'). -# Sun's compilers require the -xs option to produce debug information -# in the final linked executable. Otherwise they leave it in the .o -# files only, with undocumented pointers to it in the linked executable. -# This is commented out because we don't assume that the Sun compiler -# is in use. -#MH_CFLAGS=-xs -HOST_IPC=-DBSD_IPC +# OBSOLETE # Host: PowerPC, running Solaris 2 +# OBSOLETE +# OBSOLETE XM_FILE= xm-solaris.h +# OBSOLETE XDEPFILES= +# OBSOLETE XM_CLIBS= -lsocket -lnsl +# OBSOLETE +# OBSOLETE NAT_FILE= nm-solaris.h +# OBSOLETE NATDEPFILES= corelow.o core-sol2.o solib.o solib-svr4.o solib-legacy.o \ +# OBSOLETE fork-child.o procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o +# OBSOLETE +# OBSOLETE # If you are compiling with Sun's compiler, add the -xs option to CC +# OBSOLETE # (e.g. `make CC="cc -xs"'). +# OBSOLETE # Sun's compilers require the -xs option to produce debug information +# OBSOLETE # in the final linked executable. Otherwise they leave it in the .o +# OBSOLETE # files only, with undocumented pointers to it in the linked executable. +# OBSOLETE # This is commented out because we don't assume that the Sun compiler +# OBSOLETE # is in use. +# OBSOLETE #MH_CFLAGS=-xs +# OBSOLETE HOST_IPC=-DBSD_IPC diff --git a/gdb/config/powerpc/solaris.mt b/gdb/config/powerpc/solaris.mt index a18ba52ca8e..d83f1730030 100644 --- a/gdb/config/powerpc/solaris.mt +++ b/gdb/config/powerpc/solaris.mt @@ -1,3 +1,3 @@ -# Target: PowerPC, running Solaris 2 -TDEPFILES= rs6000-tdep.o ppc-linux-tdep.o -TM_FILE= tm-solaris.h +# OBSOLETE # Target: PowerPC, running Solaris 2 +# OBSOLETE TDEPFILES= rs6000-tdep.o ppc-linux-tdep.o +# OBSOLETE TM_FILE= tm-solaris.h diff --git a/gdb/config/powerpc/tm-cygwin.h b/gdb/config/powerpc/tm-cygwin.h index 012d1d21724..d48d7a0fb88 100644 --- a/gdb/config/powerpc/tm-cygwin.h +++ b/gdb/config/powerpc/tm-cygwin.h @@ -1,21 +1,21 @@ -/* Macro definitions PowerPC running under the Cygwin API. - Copyright 1996, 1998 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" +/* OBSOLETE /* Macro definitions PowerPC running under the Cygwin API. */ +/* OBSOLETE Copyright 1996, 1998 Free Software Foundation, Inc. */ +/* OBSOLETE */ +/* OBSOLETE This file is part of GDB. */ +/* OBSOLETE */ +/* OBSOLETE This program is free software; you can redistribute it and/or modify */ +/* OBSOLETE it under the terms of the GNU General Public License as published by */ +/* OBSOLETE the Free Software Foundation; either version 2 of the License, or */ +/* OBSOLETE (at your option) any later version. */ +/* OBSOLETE */ +/* OBSOLETE This program is distributed in the hope that it will be useful, */ +/* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* OBSOLETE GNU General Public License for more details. */ +/* OBSOLETE */ +/* OBSOLETE You should have received a copy of the GNU General Public License */ +/* OBSOLETE along with this program; if not, write to the Free Software */ +/* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, */ +/* OBSOLETE Boston, MA 02111-1307, USA. */ */ +/* OBSOLETE */ +/* OBSOLETE #include "powerpc/tm-ppcle-eabi.h" */ diff --git a/gdb/config/powerpc/tm-ppc-nw.h b/gdb/config/powerpc/tm-ppc-nw.h index ba8019f73cc..b7c00c12f19 100644 --- a/gdb/config/powerpc/tm-ppc-nw.h +++ b/gdb/config/powerpc/tm-ppc-nw.h @@ -1,31 +1,31 @@ -/* Macro definitions for Power PC running Netware. - Copyright 1994, 2000 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. */ - -#ifndef TM_PPC_NW_H -#define TM_PPC_NW_H - -/* Use generic RS6000 definitions. */ -#include "rs6000/tm-rs6000.h" - -#define GDB_TARGET_POWERPC - -#undef PROCESS_LINENUMBER_HOOK - -#endif /* TM_PPC_NW_H */ +/* OBSOLETE /* Macro definitions for Power PC running Netware. */ +/* OBSOLETE Copyright 1994, 2000 Free Software Foundation, Inc. */ +/* OBSOLETE */ +/* OBSOLETE This file is part of GDB. */ +/* OBSOLETE */ +/* OBSOLETE This program is free software; you can redistribute it and/or modify */ +/* OBSOLETE it under the terms of the GNU General Public License as published by */ +/* OBSOLETE the Free Software Foundation; either version 2 of the License, or */ +/* OBSOLETE (at your option) any later version. */ +/* OBSOLETE */ +/* OBSOLETE This program is distributed in the hope that it will be useful, */ +/* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* OBSOLETE GNU General Public License for more details. */ +/* OBSOLETE */ +/* OBSOLETE You should have received a copy of the GNU General Public License */ +/* OBSOLETE along with this program; if not, write to the Free Software */ +/* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, */ +/* OBSOLETE Boston, MA 02111-1307, USA. */ */ +/* OBSOLETE */ +/* OBSOLETE #ifndef TM_PPC_NW_H */ +/* OBSOLETE #define TM_PPC_NW_H */ +/* OBSOLETE */ +/* OBSOLETE /* Use generic RS6000 definitions. */ */ +/* OBSOLETE #include "rs6000/tm-rs6000.h" */ +/* OBSOLETE */ +/* OBSOLETE #define GDB_TARGET_POWERPC */ +/* OBSOLETE */ +/* OBSOLETE #undef PROCESS_LINENUMBER_HOOK */ +/* OBSOLETE */ +/* OBSOLETE #endif /* TM_PPC_NW_H */ */ diff --git a/gdb/config/powerpc/tm-solaris.h b/gdb/config/powerpc/tm-solaris.h index 6eb1186c4d5..aeca6cbc86f 100644 --- a/gdb/config/powerpc/tm-solaris.h +++ b/gdb/config/powerpc/tm-solaris.h @@ -1,74 +1,74 @@ -/* Macro definitions for GDB for a PowerPC running Solaris 2 - Copyright 1996, 2000 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-ppc-eabi.h" - -/* There are two different signal handler trampolines in Solaris2. */ -#define IN_SIGTRAMP(pc, name) \ - ((name) \ - && (STREQ ("sigacthandler", name) || STREQ ("ucbsigvechandler", name))) - -/* The signal handler gets a pointer to an ucontext as third argument - if it is called from sigacthandler. This is the offset to the saved - PC within it. sparc_frame_saved_pc knows how to deal with - ucbsigvechandler. */ -#define SIGCONTEXT_PC_OFFSET 44 - -#if 0 /* FIXME Setjmp/longjmp are not as well doc'd in SunOS 5.x yet */ - -/* Offsets into jmp_buf. Not defined by Sun, but at least documented in a - comment in <machine/setjmp.h>! */ - -#define JB_ELEMENT_SIZE 4 /* Size of each element in jmp_buf */ - -#define JB_ONSSTACK 0 -#define JB_SIGMASK 1 -#define JB_SP 2 -#define JB_PC 3 -#define JB_NPC 4 -#define JB_PSR 5 -#define JB_G1 6 -#define JB_O0 7 -#define JB_WBCNT 8 - -/* Figure out where the longjmp will land. We expect that we have just entered - longjmp and haven't yet setup the stack frame, so the args are still in the - output regs. %o0 (O0_REGNUM) points at the jmp_buf structure from which we - extract the pc (JB_PC) that we will land at. The pc is copied into ADDR. - This routine returns true on success */ - -extern int get_longjmp_target (CORE_ADDR *); - -#define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR) -#endif /* 0 */ - -/* The SunPRO compiler puts out 0 instead of the address in N_SO symbols, - and for SunPRO 3.0, N_FUN symbols too. */ -#define SOFUN_ADDRESS_MAYBE_MISSING - -#if 0 -extern char *sunpro_static_transform_name (char *); -#define STATIC_TRANSFORM_NAME(x) sunpro_static_transform_name (x) -#endif - -#define FAULTED_USE_SIGINFO - -/* Enable handling of shared libraries for a.out executables. */ -#define HANDLE_SVR4_EXEC_EMULATORS +/* OBSOLETE /* Macro definitions for GDB for a PowerPC running Solaris 2 */ +/* OBSOLETE Copyright 1996, 2000 Free Software Foundation, Inc. */ +/* OBSOLETE */ +/* OBSOLETE This file is part of GDB. */ +/* OBSOLETE */ +/* OBSOLETE This program is free software; you can redistribute it and/or modify */ +/* OBSOLETE it under the terms of the GNU General Public License as published by */ +/* OBSOLETE the Free Software Foundation; either version 2 of the License, or */ +/* OBSOLETE (at your option) any later version. */ +/* OBSOLETE */ +/* OBSOLETE This program is distributed in the hope that it will be useful, */ +/* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* OBSOLETE GNU General Public License for more details. */ +/* OBSOLETE */ +/* OBSOLETE You should have received a copy of the GNU General Public License */ +/* OBSOLETE along with this program; if not, write to the Free Software */ +/* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, */ +/* OBSOLETE Boston, MA 02111-1307, USA. */ */ +/* OBSOLETE */ +/* OBSOLETE #include "powerpc/tm-ppc-eabi.h" */ +/* OBSOLETE */ +/* OBSOLETE /* There are two different signal handler trampolines in Solaris2. */ */ +/* OBSOLETE #define IN_SIGTRAMP(pc, name) \ */ +/* OBSOLETE ((name) \ */ +/* OBSOLETE && (STREQ ("sigacthandler", name) || STREQ ("ucbsigvechandler", name))) */ +/* OBSOLETE */ +/* OBSOLETE /* The signal handler gets a pointer to an ucontext as third argument */ +/* OBSOLETE if it is called from sigacthandler. This is the offset to the saved */ +/* OBSOLETE PC within it. sparc_frame_saved_pc knows how to deal with */ +/* OBSOLETE ucbsigvechandler. */ */ +/* OBSOLETE #define SIGCONTEXT_PC_OFFSET 44 */ +/* OBSOLETE */ +/* OBSOLETE #if 0 /* FIXME Setjmp/longjmp are not as well doc'd in SunOS 5.x yet */ */ +/* OBSOLETE */ +/* OBSOLETE /* Offsets into jmp_buf. Not defined by Sun, but at least documented in a */ +/* OBSOLETE comment in <machine/setjmp.h>! */ */ +/* OBSOLETE */ +/* OBSOLETE #define JB_ELEMENT_SIZE 4 /* Size of each element in jmp_buf */ */ +/* OBSOLETE */ +/* OBSOLETE #define JB_ONSSTACK 0 */ +/* OBSOLETE #define JB_SIGMASK 1 */ +/* OBSOLETE #define JB_SP 2 */ +/* OBSOLETE #define JB_PC 3 */ +/* OBSOLETE #define JB_NPC 4 */ +/* OBSOLETE #define JB_PSR 5 */ +/* OBSOLETE #define JB_G1 6 */ +/* OBSOLETE #define JB_O0 7 */ +/* OBSOLETE #define JB_WBCNT 8 */ +/* OBSOLETE */ +/* OBSOLETE /* Figure out where the longjmp will land. We expect that we have just entered */ +/* OBSOLETE longjmp and haven't yet setup the stack frame, so the args are still in the */ +/* OBSOLETE output regs. %o0 (O0_REGNUM) points at the jmp_buf structure from which we */ +/* OBSOLETE extract the pc (JB_PC) that we will land at. The pc is copied into ADDR. */ +/* OBSOLETE This routine returns true on success */ */ +/* OBSOLETE */ +/* OBSOLETE extern int get_longjmp_target (CORE_ADDR *); */ +/* OBSOLETE */ +/* OBSOLETE #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR) */ +/* OBSOLETE #endif /* 0 */ */ +/* OBSOLETE */ +/* OBSOLETE /* The SunPRO compiler puts out 0 instead of the address in N_SO symbols, */ +/* OBSOLETE and for SunPRO 3.0, N_FUN symbols too. */ */ +/* OBSOLETE #define SOFUN_ADDRESS_MAYBE_MISSING */ +/* OBSOLETE */ +/* OBSOLETE #if 0 */ +/* OBSOLETE extern char *sunpro_static_transform_name (char *); */ +/* OBSOLETE #define STATIC_TRANSFORM_NAME(x) sunpro_static_transform_name (x) */ +/* OBSOLETE #endif */ +/* OBSOLETE */ +/* OBSOLETE #define FAULTED_USE_SIGINFO */ +/* OBSOLETE */ +/* OBSOLETE /* Enable handling of shared libraries for a.out executables. */ */ +/* OBSOLETE #define HANDLE_SVR4_EXEC_EMULATORS */ diff --git a/gdb/config/powerpc/xm-cygwin.h b/gdb/config/powerpc/xm-cygwin.h index 2756a9ea61e..86d8dc6a94a 100644 --- a/gdb/config/powerpc/xm-cygwin.h +++ b/gdb/config/powerpc/xm-cygwin.h @@ -1,41 +1,41 @@ -/* Definitions for hosting on WIN32, for GDB. - Copyright 1995, 1996, 1998, 2001 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 "/" - -/* Define this lseek(n) != nth byte of file */ -#define LSEEK_NOT_LINEAR - -/* If under Cygwin, provide backwards compatibility with older - Cygwin compilers that don't define the current cpp define. */ -#ifdef __CYGWIN32__ -#ifndef __CYGWIN__ -#define __CYGWIN__ -#endif -#endif +/* OBSOLETE /* Definitions for hosting on WIN32, for GDB. */ +/* OBSOLETE Copyright 1995, 1996, 1998, 2001 Free Software Foundation, Inc. */ +/* OBSOLETE */ +/* OBSOLETE This file is part of GDB. */ +/* OBSOLETE */ +/* OBSOLETE This program is free software; you can redistribute it and/or modify */ +/* OBSOLETE it under the terms of the GNU General Public License as published by */ +/* OBSOLETE the Free Software Foundation; either version 2 of the License, or */ +/* OBSOLETE (at your option) any later version. */ +/* OBSOLETE */ +/* OBSOLETE This program is distributed in the hope that it will be useful, */ +/* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* OBSOLETE GNU General Public License for more details. */ +/* OBSOLETE */ +/* OBSOLETE You should have received a copy of the GNU General Public License */ +/* OBSOLETE along with this program; if not, write to the Free Software */ +/* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, */ +/* OBSOLETE Boston, MA 02111-1307, USA. */ */ +/* OBSOLETE */ +/* OBSOLETE #define HOST_BYTE_ORDER LITTLE_ENDIAN */ +/* OBSOLETE */ +/* OBSOLETE #include "fopen-bin.h" */ +/* OBSOLETE */ +/* OBSOLETE #define GDBINIT_FILENAME "gdb.ini" */ +/* OBSOLETE */ +/* OBSOLETE #define SLASH_P(X) ((X)=='\\' || (X) == '/') */ +/* OBSOLETE #define ROOTED_P(X) ((SLASH_P((X)[0]))|| ((X)[1] ==':')) */ +/* OBSOLETE #define SLASH_CHAR '/' */ +/* OBSOLETE #define SLASH_STRING "/" */ +/* OBSOLETE */ +/* OBSOLETE /* Define this lseek(n) != nth byte of file */ */ +/* OBSOLETE #define LSEEK_NOT_LINEAR */ +/* OBSOLETE */ +/* OBSOLETE /* If under Cygwin, provide backwards compatibility with older */ +/* OBSOLETE Cygwin compilers that don't define the current cpp define. */ */ +/* OBSOLETE #ifdef __CYGWIN32__ */ +/* OBSOLETE #ifndef __CYGWIN__ */ +/* OBSOLETE #define __CYGWIN__ */ +/* OBSOLETE #endif */ +/* OBSOLETE #endif */ diff --git a/gdb/config/powerpc/xm-solaris.h b/gdb/config/powerpc/xm-solaris.h index d14ea343067..59a891ddfeb 100644 --- a/gdb/config/powerpc/xm-solaris.h +++ b/gdb/config/powerpc/xm-solaris.h @@ -1,22 +1,22 @@ -/* Host definitions for a Sun 4, for GDB, the GNU debugger. - 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. */ - -#define HOST_BYTE_ORDER LITTLE_ENDIAN +/* OBSOLETE /* Host definitions for a Sun 4, for GDB, the GNU debugger. */ +/* OBSOLETE Copyright 1996 */ +/* OBSOLETE Free Software Foundation, Inc. */ +/* OBSOLETE */ +/* OBSOLETE This file is part of GDB. */ +/* OBSOLETE */ +/* OBSOLETE This program is free software; you can redistribute it and/or modify */ +/* OBSOLETE it under the terms of the GNU General Public License as published by */ +/* OBSOLETE the Free Software Foundation; either version 2 of the License, or */ +/* OBSOLETE (at your option) any later version. */ +/* OBSOLETE */ +/* OBSOLETE This program is distributed in the hope that it will be useful, */ +/* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* OBSOLETE GNU General Public License for more details. */ +/* OBSOLETE */ +/* OBSOLETE You should have received a copy of the GNU General Public License */ +/* OBSOLETE along with this program; if not, write to the Free Software */ +/* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, */ +/* OBSOLETE Boston, MA 02111-1307, USA. */ */ +/* OBSOLETE */ +/* OBSOLETE #define HOST_BYTE_ORDER LITTLE_ENDIAN */ diff --git a/gdb/configure.host b/gdb/configure.host index 8e71ff409d1..156852f2a23 100644 --- a/gdb/configure.host +++ b/gdb/configure.host @@ -131,8 +131,8 @@ ns32k-*-netbsd*) gdb_host=nbsd ;; # OBSOLETE ns32k-utek-sysv*) gdb_host=merlin ;; powerpc-*-aix*) gdb_host=aix ;; -powerpcle-*-cygwin*) gdb_host=cygwin ;; -powerpcle-*-solaris*) gdb_host=solaris ;; +# OBSOLETE powerpcle-*-cygwin*) gdb_host=cygwin ;; +# OBSOLETE powerpcle-*-solaris*) gdb_host=solaris ;; powerpc-*-linux*) gdb_host=linux ;; powerpc-*-netbsd*) gdb_host=nbsd ;; diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 5ec99c094bc..fed08107bd3 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -230,12 +230,12 @@ ns32k-*-netbsd*) gdb_target=nbsd powerpc-*-macos*) gdb_target=macos ;; powerpc-*-netbsd*) gdb_target=nbsd configdirs="${configdirs} gdbserver" ;; -powerpc-*-netware*) gdb_target=ppc-nw - configdirs="${configdirs} nlm" ;; +# OBSOLETE powerpc-*-netware*) gdb_target=ppc-nw +# OBSOLETE configdirs="${configdirs} nlm" ;; powerpc-*-aix*) gdb_target=aix ;; -powerpcle-*-cygwin*) gdb_target=cygwin ;; -powerpcle-*-solaris*) gdb_target=solaris ;; +# OBSOLETE powerpcle-*-cygwin*) gdb_target=cygwin ;; +# OBSOLETE powerpcle-*-solaris*) gdb_target=solaris ;; powerpc-*-eabi* | powerpc-*-sysv* | powerpc-*-elf*) if test -f ../sim/ppc/Makefile; then gdb_target=ppc-sim |