Obsolete MPW as host.

This commit is contained in:
Andrew Cagney
2001-04-19 23:56:14 +00:00
parent 6ec9f4a9be
commit d036b4d9cf
14 changed files with 1725 additions and 1706 deletions

View File

@ -1,3 +1,21 @@
2001-04-17 Andrew Cagney <ac131313@redhat.com>
* source.c (openp): Obsolete #ifdef MPW code.
(open_source_file): Ditto.
* event-top.c (display_gdb_prompt): Ditto.
* utils.c (query): Ditto.
(init_page_info): Ditto.
(init_page_info): Delete #ifndef MPW.
* top.c (gdb_readline): Ditto.
* mac-xdep.c: Obsolete.
* mac-gdb.r: Obsolete.
* config/powerpc/xm-mpw.h: Obsolete.
* config/xm-mpw.h: Obsolete.
* mpw-make.sed: Obsolete.
* mpw-config.in: Obsolete.
* TODO: Update
* NEWS: Update
2001-04-19 Mark Kettenis <kettenis@gnu.org> 2001-04-19 Mark Kettenis <kettenis@gnu.org>
* i386-tdep.c (i386_frameless_function_invocation): New function. * i386-tdep.c (i386_frameless_function_invocation): New function.

View File

@ -27,6 +27,7 @@ PowerPC Netware powerpc-*-netware*
SunOS 4.0.Xi on i386 i[3456]86-*-sunos* SunOS 4.0.Xi on i386 i[3456]86-*-sunos*
Sony NEWS (68K) running NEWSOS 3.x m68*-sony-sysv news Sony NEWS (68K) running NEWSOS 3.x m68*-sony-sysv news
ISI Optimum V (3.05) under 4.3bsd. m68*-isi-* ISI Optimum V (3.05) under 4.3bsd. m68*-isi-*
Apple Macintosh (MPW) host N/A
stuff.c (Program to stuff files into a specially prepared space in kdb) stuff.c (Program to stuff files into a specially prepared space in kdb)
kdb-start.c (Main loop for the standalone kernel debugger) kdb-start.c (Main loop for the standalone kernel debugger)

View File

@ -160,8 +160,6 @@ MAINTAINERS file.
o arm-* vs NetBSD's lack of ``unix'' o arm-* vs NetBSD's lack of ``unix''
o arm-* vs IRIX (see below) o arm-* vs IRIX (see below)
o delete mpw?
-- 2001-03-15 -- 2001-03-15
Obsolete some targets. Obsolete some targets.
@ -201,6 +199,8 @@ Steps:
powerpc-*-netware* powerpc - ppc-nw yes powerpc-*-netware* powerpc - ppc-nw yes
w65-*-* w65 - w65 yes w65-*-* w65 - w65 yes
i[3456]86-*-sunos* i386 sun386 sun386 yes i[3456]86-*-sunos* i386 sun386 sun386 yes
mpw m68k mpw mpw yes
mpw powerpc mpw mpw yes
(DONE) (DONE)

View File

@ -1,25 +1,25 @@
/* Macro definitions for running GDB on Apple 68k-based Macintoshes. /* OBSOLETE /* Macro definitions for running GDB on Apple 68k-based Macintoshes. */
Copyright 1994, 1995 Free Software Foundation, Inc. /* OBSOLETE Copyright 1994, 1995 Free Software Foundation, Inc. */
/* OBSOLETE */
This file is part of GDB. /* OBSOLETE This file is part of GDB. */
/* OBSOLETE */
This program is free software; you can redistribute it and/or modify /* OBSOLETE 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 /* OBSOLETE it under the terms of the GNU General Public License as published by */
the Free Software Foundation; either version 2 of the License, or /* OBSOLETE the Free Software Foundation; either version 2 of the License, or */
(at your option) any later version. /* OBSOLETE (at your option) any later version. */
/* OBSOLETE */
This program is distributed in the hope that it will be useful, /* OBSOLETE This program is distributed in the hope that it will be useful, */
but WITHOUT ANY WARRANTY; without even the implied warranty of /* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
GNU General Public License for more details. /* OBSOLETE GNU General Public License for more details. */
/* OBSOLETE */
You should have received a copy of the GNU General Public License /* OBSOLETE You should have received a copy of the GNU General Public License */
along with this program; if not, write to the Free Software /* OBSOLETE along with this program; if not, write to the Free Software */
Foundation, Inc., 59 Temple Place - Suite 330, /* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, */
Boston, MA 02111-1307, USA. */ /* OBSOLETE Boston, MA 02111-1307, USA. */ */
/* OBSOLETE */
#define HOST_BYTE_ORDER BIG_ENDIAN /* OBSOLETE #define HOST_BYTE_ORDER BIG_ENDIAN */
/* OBSOLETE */
/* Use angle brackets so that the common xm-mpw.h is found. */ /* OBSOLETE /* Use angle brackets so that the common xm-mpw.h is found. */ */
/* OBSOLETE */
#include <xm-mpw.h> /* OBSOLETE #include <xm-mpw.h> */

View File

@ -1,23 +1,23 @@
/* Macro definitions for running GDB on Apple Power Macintoshes. /* OBSOLETE /* Macro definitions for running GDB on Apple Power Macintoshes. */
Copyright 1994, 1995 Free Software Foundation, Inc. /* OBSOLETE Copyright 1994, 1995 Free Software Foundation, Inc. */
/* OBSOLETE */
This file is part of GDB. /* OBSOLETE This file is part of GDB. */
/* OBSOLETE */
This program is free software; you can redistribute it and/or modify /* OBSOLETE 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 /* OBSOLETE it under the terms of the GNU General Public License as published by */
the Free Software Foundation; either version 2 of the License, or /* OBSOLETE the Free Software Foundation; either version 2 of the License, or */
(at your option) any later version. /* OBSOLETE (at your option) any later version. */
/* OBSOLETE */
This program is distributed in the hope that it will be useful, /* OBSOLETE This program is distributed in the hope that it will be useful, */
but WITHOUT ANY WARRANTY; without even the implied warranty of /* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
GNU General Public License for more details. /* OBSOLETE GNU General Public License for more details. */
/* OBSOLETE */
You should have received a copy of the GNU General Public License /* OBSOLETE You should have received a copy of the GNU General Public License */
along with this program; if not, write to the Free Software /* OBSOLETE along with this program; if not, write to the Free Software */
Foundation, Inc., 59 Temple Place - Suite 330, /* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, */
Boston, MA 02111-1307, USA. */ /* OBSOLETE Boston, MA 02111-1307, USA. */ */
/* OBSOLETE */
#define HOST_BYTE_ORDER BIG_ENDIAN /* OBSOLETE #define HOST_BYTE_ORDER BIG_ENDIAN */
/* OBSOLETE */
#include <xm-mpw.h> /* OBSOLETE #include <xm-mpw.h> */

View File

@ -1,78 +1,78 @@
/* Macro definitions for running GDB on Apple Macintoshes. /* OBSOLETE /* Macro definitions for running GDB on Apple Macintoshes. */
Copyright 1994, 1995, 2001 Free Software Foundation, Inc. /* OBSOLETE Copyright 1994, 1995, 2001 Free Software Foundation, Inc. */
/* OBSOLETE */
This file is part of GDB. /* OBSOLETE This file is part of GDB. */
/* OBSOLETE */
This program is free software; you can redistribute it and/or modify /* OBSOLETE 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 /* OBSOLETE it under the terms of the GNU General Public License as published by */
the Free Software Foundation; either version 2 of the License, or /* OBSOLETE the Free Software Foundation; either version 2 of the License, or */
(at your option) any later version. /* OBSOLETE (at your option) any later version. */
/* OBSOLETE */
This program is distributed in the hope that it will be useful, /* OBSOLETE This program is distributed in the hope that it will be useful, */
but WITHOUT ANY WARRANTY; without even the implied warranty of /* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
GNU General Public License for more details. /* OBSOLETE GNU General Public License for more details. */
/* OBSOLETE */
You should have received a copy of the GNU General Public License /* OBSOLETE You should have received a copy of the GNU General Public License */
along with this program; if not, write to the Free Software /* OBSOLETE along with this program; if not, write to the Free Software */
Foundation, Inc., 59 Temple Place - Suite 330, /* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, */
Boston, MA 02111-1307, USA. */ /* OBSOLETE Boston, MA 02111-1307, USA. */ */
/* OBSOLETE */
#include "mpw.h" /* OBSOLETE #include "mpw.h" */
/* OBSOLETE */
#include "fopen-bin.h" /* OBSOLETE #include "fopen-bin.h" */
/* OBSOLETE */
#include "spin.h" /* OBSOLETE #include "spin.h" */
/* OBSOLETE */
#define CANT_FORK /* OBSOLETE #define CANT_FORK */
/* OBSOLETE */
/* Map these standard functions to versions that can do I/O in a console /* OBSOLETE /* Map these standard functions to versions that can do I/O in a console */
window. */ /* OBSOLETE window. */ */
/* OBSOLETE */
#define printf hacked_printf /* OBSOLETE #define printf hacked_printf */
#define fprintf hacked_fprintf /* OBSOLETE #define fprintf hacked_fprintf */
#define vprintf hacked_vfprintf /* OBSOLETE #define vprintf hacked_vfprintf */
#define fputs hacked_fputs /* OBSOLETE #define fputs hacked_fputs */
#define fputc hacked_fputc /* OBSOLETE #define fputc hacked_fputc */
#undef putc /* OBSOLETE #undef putc */
#define putc hacked_putc /* OBSOLETE #define putc hacked_putc */
#define fflush hacked_fflush /* OBSOLETE #define fflush hacked_fflush */
/* OBSOLETE */
#define fgetc hacked_fgetc /* OBSOLETE #define fgetc hacked_fgetc */
/* OBSOLETE */
#define POSIX_UTIME /* OBSOLETE #define POSIX_UTIME */
/* OBSOLETE */
/* '.' indicates drivers on the Mac, so we need a different filename. */ /* OBSOLETE /* '.' indicates drivers on the Mac, so we need a different filename. */ */
/* OBSOLETE */
#define GDBINIT_FILENAME "_gdbinit" /* OBSOLETE #define GDBINIT_FILENAME "_gdbinit" */
/* OBSOLETE */
/* Commas are more common to separate dirnames in a path on Macs. */ /* OBSOLETE /* Commas are more common to separate dirnames in a path on Macs. */ */
/* OBSOLETE */
#define DIRNAME_SEPARATOR ',' /* OBSOLETE #define DIRNAME_SEPARATOR ',' */
/* OBSOLETE */
/* This is a real crufty hack. */ /* OBSOLETE /* This is a real crufty hack. */ */
/* OBSOLETE */
#define HAVE_TERMIO /* OBSOLETE #define HAVE_TERMIO */
/* OBSOLETE */
/* Addons to the basic MPW-supported signal list. */ /* OBSOLETE /* Addons to the basic MPW-supported signal list. */ */
/* OBSOLETE */
#ifndef SIGQUIT /* OBSOLETE #ifndef SIGQUIT */
#define SIGQUIT (1<<6) /* OBSOLETE #define SIGQUIT (1<<6) */
#endif /* OBSOLETE #endif */
#ifndef SIGHUP /* OBSOLETE #ifndef SIGHUP */
#define SIGHUP (1<<7) /* OBSOLETE #define SIGHUP (1<<7) */
#endif /* OBSOLETE #endif */
/* OBSOLETE */
/* If __STDC__ is on, then this definition will be missing. */ /* OBSOLETE /* If __STDC__ is on, then this definition will be missing. */ */
/* OBSOLETE */
#ifndef fileno /* OBSOLETE #ifndef fileno */
#define fileno(p) (p)->_file /* OBSOLETE #define fileno(p) (p)->_file */
#endif /* OBSOLETE #endif */
/* OBSOLETE */
#ifndef R_OK /* OBSOLETE #ifndef R_OK */
#define R_OK 4 /* OBSOLETE #define R_OK 4 */
#endif /* OBSOLETE #endif */
/* OBSOLETE */
extern int StandAlone; /* OBSOLETE extern int StandAlone; */
/* OBSOLETE */
extern int mac_app; /* OBSOLETE extern int mac_app; */

View File

@ -302,11 +302,11 @@ display_gdb_prompt (char *new_prompt)
the user is not accounted for. */ the user is not accounted for. */
fputs_unfiltered (new_prompt, gdb_stdout); fputs_unfiltered (new_prompt, gdb_stdout);
#ifdef MPW /* OBSOLETE #ifdef MPW */
/* Move to a new line so the entered line doesn't have a prompt /* OBSOLETE *//* Move to a new line so the entered line doesn't have a prompt */
on the front of it. */ /* OBSOLETE on the front of it. */
fputs_unfiltered ("\n", gdb_stdout); /* OBSOLETE fputs_unfiltered ("\n", gdb_stdout); */
#endif /* MPW */ /* OBSOLETE #endif *//* MPW */
gdb_flush (gdb_stdout); gdb_flush (gdb_stdout);
} }
} }

View File

@ -1,184 +1,184 @@
/* Resource file for MacGDB. */ /* OBSOLETE /* Resource file for MacGDB. */ */
/* OBSOLETE */
#include "SysTypes.r" /* OBSOLETE #include "SysTypes.r" */
#include "Types.r" /* OBSOLETE #include "Types.r" */
/* OBSOLETE */
#include "mac-defs.h" /* OBSOLETE #include "mac-defs.h" */
/* OBSOLETE */
/* Version resources. */ /* OBSOLETE /* Version resources. */ */
/* OBSOLETE */
resource 'vers' (1) { /* OBSOLETE resource 'vers' (1) { */
0, /* OBSOLETE 0, */
0, /* OBSOLETE 0, */
0, /* OBSOLETE 0, */
0, /* OBSOLETE 0, */
verUS, /* OBSOLETE verUS, */
VERSION_STRING, /* OBSOLETE VERSION_STRING, */
VERSION_STRING " (C) 1986-95 FSF, Inc." /* OBSOLETE VERSION_STRING " (C) 1986-95 FSF, Inc." */
}; /* OBSOLETE }; */
/* OBSOLETE */
resource 'vers' (2, purgeable) { /* OBSOLETE resource 'vers' (2, purgeable) { */
0, /* OBSOLETE 0, */
0, /* OBSOLETE 0, */
0, /* OBSOLETE 0, */
0, /* OBSOLETE 0, */
verUs, /* OBSOLETE verUs, */
VERSION_STRING, /* OBSOLETE VERSION_STRING, */
"GDB " VERSION_STRING " for MPW" /* OBSOLETE "GDB " VERSION_STRING " for MPW" */
}; /* OBSOLETE }; */
/* OBSOLETE */
#ifdef WANT_CFRG /* OBSOLETE #ifdef WANT_CFRG */
/* OBSOLETE */
#include "CodeFragmentTypes.r" /* OBSOLETE #include "CodeFragmentTypes.r" */
/* OBSOLETE */
resource 'cfrg' (0) { /* OBSOLETE resource 'cfrg' (0) { */
{ /* OBSOLETE { */
kPowerPC, /* OBSOLETE kPowerPC, */
kFullLib, /* OBSOLETE kFullLib, */
kNoVersionNum, kNoVersionNum, /* OBSOLETE kNoVersionNum, kNoVersionNum, */
0, 0, /* OBSOLETE 0, 0, */
kIsApp, kOnDiskFlat, kZeroOffset, kWholeFork, /* OBSOLETE kIsApp, kOnDiskFlat, kZeroOffset, kWholeFork, */
PROG_NAME /* OBSOLETE PROG_NAME */
} /* OBSOLETE } */
}; /* OBSOLETE }; */
/* OBSOLETE */
#endif /* WANT_CFRG */ /* OBSOLETE #endif /* WANT_CFRG */ */
/* OBSOLETE */
#ifdef Macgdb /* Exclude the following from SIOWgdb which uses SIOW.r. */ /* OBSOLETE #ifdef Macgdb /* Exclude the following from SIOWgdb which uses SIOW.r. */ */
/* OBSOLETE */
resource 'MBAR' (128) { /* OBSOLETE resource 'MBAR' (128) { */
{ mApple, mFile, mEdit, mDebug }; /* OBSOLETE { mApple, mFile, mEdit, mDebug }; */
}; /* OBSOLETE }; */
/* OBSOLETE */
resource 'MENU' (mApple, preload) { /* OBSOLETE resource 'MENU' (mApple, preload) { */
mApple, /* OBSOLETE mApple, */
textMenuProc, /* OBSOLETE textMenuProc, */
0x7FFFFFFD, /* OBSOLETE 0x7FFFFFFD, */
enabled, /* OBSOLETE enabled, */
apple, /* OBSOLETE apple, */
{ /* OBSOLETE { */
"About...", noIcon, noKey, noMark, plain, /* OBSOLETE "About...", noIcon, noKey, noMark, plain, */
"-", noIcon, noKey, noMark, plain /* OBSOLETE "-", noIcon, noKey, noMark, plain */
} /* OBSOLETE } */
}; /* OBSOLETE }; */
/* OBSOLETE */
resource 'MENU' (mFile, preload) { /* OBSOLETE resource 'MENU' (mFile, preload) { */
mFile, /* OBSOLETE mFile, */
textMenuProc, /* OBSOLETE textMenuProc, */
allEnabled, /* OBSOLETE allEnabled, */
enabled, /* OBSOLETE enabled, */
"File", /* OBSOLETE "File", */
{ /* OBSOLETE { */
"New", noIcon, noKey, noMark, plain, /* OBSOLETE "New", noIcon, noKey, noMark, plain, */
"Open...", noIcon, "O", noMark, plain, /* OBSOLETE "Open...", noIcon, "O", noMark, plain, */
"-", noIcon, noKey, noMark, plain, /* OBSOLETE "-", noIcon, noKey, noMark, plain, */
"Quit", noIcon, "Q", noMark, plain /* OBSOLETE "Quit", noIcon, "Q", noMark, plain */
} /* OBSOLETE } */
}; /* OBSOLETE }; */
/* OBSOLETE */
resource 'MENU' (mEdit, preload) { /* OBSOLETE resource 'MENU' (mEdit, preload) { */
mEdit, /* OBSOLETE mEdit, */
textMenuProc, /* OBSOLETE textMenuProc, */
allEnabled, /* OBSOLETE allEnabled, */
enabled, /* OBSOLETE enabled, */
"Edit", /* OBSOLETE "Edit", */
{ /* OBSOLETE { */
"Undo", noIcon, "Z", noMark, plain, /* OBSOLETE "Undo", noIcon, "Z", noMark, plain, */
"-", noIcon, noKey, noMark, plain, /* OBSOLETE "-", noIcon, noKey, noMark, plain, */
"Cut", noIcon, "X", noMark, plain, /* OBSOLETE "Cut", noIcon, "X", noMark, plain, */
"Copy", noIcon, "C", noMark, plain, /* OBSOLETE "Copy", noIcon, "C", noMark, plain, */
"Paste", noIcon, "V", noMark, plain, /* OBSOLETE "Paste", noIcon, "V", noMark, plain, */
"Clear", noIcon, noKey, noMark, plain /* OBSOLETE "Clear", noIcon, noKey, noMark, plain */
} /* OBSOLETE } */
}; /* OBSOLETE }; */
/* OBSOLETE */
resource 'MENU' (mDebug, preload) { /* OBSOLETE resource 'MENU' (mDebug, preload) { */
mDebug, /* OBSOLETE mDebug, */
textMenuProc, /* OBSOLETE textMenuProc, */
allEnabled, /* OBSOLETE allEnabled, */
enabled, /* OBSOLETE enabled, */
"Debug", /* OBSOLETE "Debug", */
{ /* OBSOLETE { */
"Target", noIcon, "T", noMark, plain, /* OBSOLETE "Target", noIcon, "T", noMark, plain, */
"-", noIcon, noKey, noMark, plain, /* OBSOLETE "-", noIcon, noKey, noMark, plain, */
"Run", noIcon, "R", noMark, plain, /* OBSOLETE "Run", noIcon, "R", noMark, plain, */
"Continue", noIcon, "K", noMark, plain, /* OBSOLETE "Continue", noIcon, "K", noMark, plain, */
"Step", noIcon, "S", noMark, plain, /* OBSOLETE "Step", noIcon, "S", noMark, plain, */
"Next", noIcon, "N", noMark, plain /* OBSOLETE "Next", noIcon, "N", noMark, plain */
} /* OBSOLETE } */
}; /* OBSOLETE }; */
/* OBSOLETE */
resource 'ALRT' (128) { /* OBSOLETE resource 'ALRT' (128) { */
{40, 40, 180, 420}, /* OBSOLETE {40, 40, 180, 420}, */
128, /* OBSOLETE 128, */
{ /* array: 4 elements */ /* OBSOLETE { /* array: 4 elements */ */
/* [1] */ /* OBSOLETE /* [1] */ */
OK, visible, sound1, /* OBSOLETE OK, visible, sound1, */
/* [2] */ /* OBSOLETE /* [2] */ */
OK, visible, sound1, /* OBSOLETE OK, visible, sound1, */
/* [3] */ /* OBSOLETE /* [3] */ */
OK, visible, sound1, /* OBSOLETE OK, visible, sound1, */
/* [4] */ /* OBSOLETE /* [4] */ */
OK, visible, sound1 /* OBSOLETE OK, visible, sound1 */
} /* OBSOLETE } */
}; /* OBSOLETE }; */
/* OBSOLETE */
resource 'DITL' (128) { /* OBSOLETE resource 'DITL' (128) { */
{ /* array DITLarray: 2 elements */ /* OBSOLETE { /* array DITLarray: 2 elements */ */
/* [1] */ /* OBSOLETE /* [1] */ */
{110, 150, 128, 200}, /* OBSOLETE {110, 150, 128, 200}, */
Button { /* OBSOLETE Button { */
enabled, /* OBSOLETE enabled, */
"OK" /* OBSOLETE "OK" */
}, /* OBSOLETE }, */
/* [2] */ /* OBSOLETE /* [2] */ */
{10, 10, 100, 370}, /* OBSOLETE {10, 10, 100, 370}, */
StaticText { /* OBSOLETE StaticText { */
disabled, /* OBSOLETE disabled, */
"GDB 4.12.3\n" /* OBSOLETE "GDB 4.12.3\n" */
"Copyright <20> 1994 Free Software Foundation, Inc.\n" /* OBSOLETE "Copyright <20> 1994 Free Software Foundation, Inc.\n" */
}, /* OBSOLETE }, */
} /* OBSOLETE } */
}; /* OBSOLETE }; */
/* OBSOLETE */
resource 'WIND' (wConsole, preload, purgeable) { /* OBSOLETE resource 'WIND' (wConsole, preload, purgeable) { */
{40, 40, 310, 572}, /* OBSOLETE {40, 40, 310, 572}, */
zoomDocProc, /* OBSOLETE zoomDocProc, */
visible, /* OBSOLETE visible, */
goAway, /* OBSOLETE goAway, */
0x0, /* OBSOLETE 0x0, */
"GDB Console" /* OBSOLETE "GDB Console" */
}; /* OBSOLETE }; */
/* OBSOLETE */
resource 'SIZE' (-1) { /* OBSOLETE resource 'SIZE' (-1) { */
reserved, /* OBSOLETE reserved, */
acceptSuspendResumeEvents, /* OBSOLETE acceptSuspendResumeEvents, */
reserved, /* OBSOLETE reserved, */
canBackground, /* OBSOLETE canBackground, */
multiFinderAware, /* OBSOLETE multiFinderAware, */
backgroundAndForeground, /* OBSOLETE backgroundAndForeground, */
dontGetFrontClicks, /* OBSOLETE dontGetFrontClicks, */
ignoreChildDiedEvents, /* OBSOLETE ignoreChildDiedEvents, */
not32BitCompatible, /* OBSOLETE not32BitCompatible, */
isHighLevelEventAware, /* OBSOLETE isHighLevelEventAware, */
localAndRemoteHLEvents, /* OBSOLETE localAndRemoteHLEvents, */
notStationeryAware, /* OBSOLETE notStationeryAware, */
dontUseTextEditServices, /* OBSOLETE dontUseTextEditServices, */
reserved, /* OBSOLETE reserved, */
reserved, /* OBSOLETE reserved, */
reserved, /* OBSOLETE reserved, */
5000*1024, /* OBSOLETE 5000*1024, */
2000*1024 /* OBSOLETE 2000*1024 */
}; /* OBSOLETE }; */
/* OBSOLETE */
resource 'DLOG' (128) { /* OBSOLETE resource 'DLOG' (128) { */
{40, 40, 240, 280}, /* OBSOLETE {40, 40, 240, 280}, */
documentProc, /* OBSOLETE documentProc, */
visible, /* OBSOLETE visible, */
goAway, /* OBSOLETE goAway, */
0x0, /* OBSOLETE 0x0, */
128, /* OBSOLETE 128, */
"" /* OBSOLETE "" */
}; /* OBSOLETE }; */
/* OBSOLETE */
#endif /* OBSOLETE #endif */

File diff suppressed because it is too large Load Diff

View File

@ -1,81 +1,81 @@
# Configuration fragment for GDB. # OBSOLETE # Configuration fragment for GDB.
# OBSOLETE
If "{host_canonical}" =~ /m68k-apple-mpw/ # OBSOLETE If "{host_canonical}" =~ /m68k-apple-mpw/
forward-include "{srcdir}"config:m68k:xm-mpw.h xm.h # OBSOLETE forward-include "{srcdir}"config:m68k:xm-mpw.h xm.h
Set siow_lib '"{Libraries}"SIOW.o' # OBSOLETE Set siow_lib '"{Libraries}"SIOW.o'
# OBSOLETE
Else If "{host_canonical}" =~ /powerpc-apple-mpw/ # OBSOLETE Else If "{host_canonical}" =~ /powerpc-apple-mpw/
forward-include "{srcdir}"config:powerpc:xm-mpw.h xm.h # OBSOLETE forward-include "{srcdir}"config:powerpc:xm-mpw.h xm.h
Set siow_lib '"{PPCLibraries}"PPCSIOW.o' # OBSOLETE Set siow_lib '"{PPCLibraries}"PPCSIOW.o'
# OBSOLETE
End If # OBSOLETE End If
# OBSOLETE
Set xdepfiles '"{o}"mac-xdep.c.o' # OBSOLETE Set xdepfiles '"{o}"mac-xdep.c.o'
# OBSOLETE
Set enable_cflags "" # OBSOLETE Set enable_cflags ""
# OBSOLETE
# Make a copy of this file and give it a different name, so it # OBSOLETE # Make a copy of this file and give it a different name, so it
# won't be confused with GDB's serial.h. # OBSOLETE # won't be confused with GDB's serial.h.
# OBSOLETE
Duplicate -y "{CIncludes}"Serial.h MacSerial.h # OBSOLETE Duplicate -y "{CIncludes}"Serial.h MacSerial.h
# OBSOLETE
Echo "/* dummy */" >termio.h # OBSOLETE Echo "/* dummy */" >termio.h
# OBSOLETE
If "{target_canonical}" =~ /m68k-apple-macos/ # OBSOLETE If "{target_canonical}" =~ /m68k-apple-macos/
forward-include "{srcdir}"config:m68k:tm-mac.h tm.h # OBSOLETE forward-include "{srcdir}"config:m68k:tm-mac.h tm.h
forward-include "{srcdir}"config:m68k:tm-m68k.h 'm68k/tm-m68k.h' # OBSOLETE forward-include "{srcdir}"config:m68k:tm-m68k.h 'm68k/tm-m68k.h'
Set tdepfiles '"{o}"m68k-tdep.c.o' # OBSOLETE Set tdepfiles '"{o}"m68k-tdep.c.o'
# OBSOLETE
Else If "{target_canonical}" =~ /powerpc-apple-macos/ # OBSOLETE Else If "{target_canonical}" =~ /powerpc-apple-macos/
forward-include "{srcdir}"config:powerpc:tm-macos.h tm.h # OBSOLETE forward-include "{srcdir}"config:powerpc:tm-macos.h tm.h
forward-include "{srcdir}"config:rs6000:tm-rs6000.h 'rs6000/tm-rs6000.h' # OBSOLETE forward-include "{srcdir}"config:rs6000:tm-rs6000.h 'rs6000/tm-rs6000.h'
Set tdepfiles '"{o}"rs6000-tdep.c.o "{o}"xcoffread.c.o' # OBSOLETE Set tdepfiles '"{o}"rs6000-tdep.c.o "{o}"xcoffread.c.o'
# OBSOLETE
Else If "{target_canonical}" =~ /i386-unknown-go32/ # OBSOLETE Else If "{target_canonical}" =~ /i386-unknown-go32/
forward-include "{srcdir}"config:i386:tm-i386v.h tm.h # OBSOLETE forward-include "{srcdir}"config:i386:tm-i386v.h tm.h
Set tdepfiles '"{o}"i386-tdep.c.o' # OBSOLETE Set tdepfiles '"{o}"i386-tdep.c.o'
# OBSOLETE
Else If "{target_canonical}" =~ /mips-idt-ecoff/ # OBSOLETE Else If "{target_canonical}" =~ /mips-idt-ecoff/
forward-include "{srcdir}"config:mips:tm-embed.h tm.h # OBSOLETE forward-include "{srcdir}"config:mips:tm-embed.h tm.h
forward-include "{srcdir}"config:mips:tm-bigmips.h 'mips/tm-bigmips.h' # OBSOLETE forward-include "{srcdir}"config:mips:tm-bigmips.h 'mips/tm-bigmips.h'
forward-include "{srcdir}"config:mips:tm-mips.h 'mips/tm-mips.h' # OBSOLETE forward-include "{srcdir}"config:mips:tm-mips.h 'mips/tm-mips.h'
Set tdepfiles '"{o}"mips-tdep.c.o "{o}"remote-mips.c.o' # OBSOLETE Set tdepfiles '"{o}"mips-tdep.c.o "{o}"remote-mips.c.o'
# OBSOLETE
Else If "{target_canonical}" =~ /sh-hitachi-hms/ # OBSOLETE Else If "{target_canonical}" =~ /sh-hitachi-hms/
forward-include "{srcdir}"config:sh:tm-sh.h tm.h # OBSOLETE forward-include "{srcdir}"config:sh:tm-sh.h tm.h
Set tdepfiles '"{o}"sh-tdep.c.o' # OBSOLETE Set tdepfiles '"{o}"sh-tdep.c.o'
# OBSOLETE
End If # OBSOLETE End If
# OBSOLETE
If "{target_canonical}" =~ /m68k-apple-macos/ # OBSOLETE If "{target_canonical}" =~ /m68k-apple-macos/
forward-include "{srcdir}"config:m68k:nm-macos.h nm.h # OBSOLETE forward-include "{srcdir}"config:m68k:nm-macos.h nm.h
Set natdepfiles '"{o}"mac-nat.c.o' # OBSOLETE Set natdepfiles '"{o}"mac-nat.c.o'
# OBSOLETE
Else If "{target_canonical}" =~ /powerpc-apple-macos/ # OBSOLETE Else If "{target_canonical}" =~ /powerpc-apple-macos/
forward-include "{srcdir}"config:powerpc:nm-macos.h nm.h # OBSOLETE forward-include "{srcdir}"config:powerpc:nm-macos.h nm.h
Set natdepfiles '"{o}"mac-nat.c.o' # OBSOLETE Set natdepfiles '"{o}"mac-nat.c.o'
# OBSOLETE
Else # OBSOLETE Else
forward-include "{srcdir}"config:nm-empty.h nm.h # OBSOLETE forward-include "{srcdir}"config:nm-empty.h nm.h
Set natdepfiles ' ' # OBSOLETE Set natdepfiles ' '
# OBSOLETE
End If # OBSOLETE End If
# OBSOLETE
Echo '# From mpw-config.in' > "{o}"mk.tmp # OBSOLETE Echo '# From mpw-config.in' > "{o}"mk.tmp
Echo "TDEPFILES = " {tdepfiles} >> "{o}"mk.tmp # OBSOLETE Echo "TDEPFILES = " {tdepfiles} >> "{o}"mk.tmp
Echo "XDEPFILES = " {xdepfiles} >> "{o}"mk.tmp # OBSOLETE Echo "XDEPFILES = " {xdepfiles} >> "{o}"mk.tmp
Echo "NATDEPFILES = " {natdepfiles} >> "{o}"mk.tmp # OBSOLETE Echo "NATDEPFILES = " {natdepfiles} >> "{o}"mk.tmp
Echo "XM_ADD_FILES = " >> "{o}"mk.tmp # OBSOLETE Echo "XM_ADD_FILES = " >> "{o}"mk.tmp
Echo "TM_ADD_FILES = " >> "{o}"mk.tmp # OBSOLETE Echo "TM_ADD_FILES = " >> "{o}"mk.tmp
Echo "NAT_ADD_FILES = " >> "{o}"mk.tmp # OBSOLETE Echo "NAT_ADD_FILES = " >> "{o}"mk.tmp
Echo "XM_CDEPS = " >> "{o}"mk.tmp # OBSOLETE Echo "XM_CDEPS = " >> "{o}"mk.tmp
Echo "TM_CDEPS = " >> "{o}"mk.tmp # OBSOLETE Echo "TM_CDEPS = " >> "{o}"mk.tmp
Echo "NAT_CDEPS = " >> "{o}"mk.tmp # OBSOLETE Echo "NAT_CDEPS = " >> "{o}"mk.tmp
Echo "SIOW_LIB = " {siow_lib} >> "{o}"mk.tmp # OBSOLETE Echo "SIOW_LIB = " {siow_lib} >> "{o}"mk.tmp
Echo "ENABLE_CFLAGS = " {enable_cflags} >> "{o}"mk.tmp # OBSOLETE Echo "ENABLE_CFLAGS = " {enable_cflags} >> "{o}"mk.tmp
Echo '# End from mpw-config.in' >> "{o}"mk.tmp # OBSOLETE Echo '# End from mpw-config.in' >> "{o}"mk.tmp
# OBSOLETE
Echo '/* config.h. Generated by mpw-configure. */' > "{o}"config.new # OBSOLETE Echo '/* config.h. Generated by mpw-configure. */' > "{o}"config.new
Echo '#include "mpw.h"' >> "{o}"config.new # OBSOLETE Echo '#include "mpw.h"' >> "{o}"config.new
# OBSOLETE
MoveIfChange "{o}"config.new "{o}"config.h # OBSOLETE MoveIfChange "{o}"config.new "{o}"config.h

View File

@ -1,178 +1,178 @@
# Sed commands that finish translating the GDB Unix Makefile to MPW syntax. # OBSOLETE # Sed commands that finish translating the GDB Unix Makefile to MPW syntax.
# OBSOLETE
/^host_alias =/s/^/#/ # OBSOLETE /^host_alias =/s/^/#/
/^target_alias =/s/^/#/ # OBSOLETE /^target_alias =/s/^/#/
# OBSOLETE
/^host_makefile_frag@$/d # OBSOLETE /^host_makefile_frag@$/d
/^target_makefile_frag@$/d # OBSOLETE /^target_makefile_frag@$/d
# OBSOLETE
/@ENABLE_CFLAGS@/s/@ENABLE_CFLAGS@/{ENABLE_CFLAGS}/g # OBSOLETE /@ENABLE_CFLAGS@/s/@ENABLE_CFLAGS@/{ENABLE_CFLAGS}/g
/^ENABLE_CFLAGS=/s/^/#/ # OBSOLETE /^ENABLE_CFLAGS=/s/^/#/
# OBSOLETE
# Edit all the symbolic definitions pointing to various libraries and such. # OBSOLETE # Edit all the symbolic definitions pointing to various libraries and such.
# OBSOLETE
/^INCLUDE_DIR = /s/"{srcdir}":include/"{topsrcdir}"include:/ # OBSOLETE /^INCLUDE_DIR = /s/"{srcdir}":include/"{topsrcdir}"include:/
# OBSOLETE
/^MMALLOC_DIR = /s/::mmalloc/mmalloc:/ # OBSOLETE /^MMALLOC_DIR = /s/::mmalloc/mmalloc:/
/^MMALLOC_SRC = /s/"{srcdir}"/"{topsrcdir}"/ # OBSOLETE /^MMALLOC_SRC = /s/"{srcdir}"/"{topsrcdir}"/
/^MMALLOC =/s/=.*$/=/ # OBSOLETE /^MMALLOC =/s/=.*$/=/
/MMALLOC_CFLAGS =/s/=.*$/= -u USE_MMALLOC/ # OBSOLETE /MMALLOC_CFLAGS =/s/=.*$/= -u USE_MMALLOC/
# OBSOLETE
/^BFD_DIR = /s/::bfd/bfd:/ # OBSOLETE /^BFD_DIR = /s/::bfd/bfd:/
/^BFD = /s/{BFD_DIR}:libbfd/{BFD_DIR}libbfd/ # OBSOLETE /^BFD = /s/{BFD_DIR}:libbfd/{BFD_DIR}libbfd/
/^BFD_SRC = /s/"{srcdir}"/"{topsrcdir}"/ # OBSOLETE /^BFD_SRC = /s/"{srcdir}"/"{topsrcdir}"/
# OBSOLETE
/^READLINE_DIR = /s/::readline/readline:/ # OBSOLETE /^READLINE_DIR = /s/::readline/readline:/
/^READLINE =/s/=.*$/=/ # OBSOLETE /^READLINE =/s/=.*$/=/
/^READLINE_SRC = /s/"{srcdir}"/"{topsrcdir}"/ # OBSOLETE /^READLINE_SRC = /s/"{srcdir}"/"{topsrcdir}"/
# OBSOLETE
/^INCLUDE_CFLAGS = /s/$/ -i "{topsrcdir}"include:mpw: -i ::extra-include:/ # OBSOLETE /^INCLUDE_CFLAGS = /s/$/ -i "{topsrcdir}"include:mpw: -i ::extra-include:/
# OBSOLETE
/^SER_HARDWIRE =/s/ser-unix/ser-mac/ # OBSOLETE /^SER_HARDWIRE =/s/ser-unix/ser-mac/
# OBSOLETE
/^TERMCAP =/s/ =.*$/ =/ # OBSOLETE /^TERMCAP =/s/ =.*$/ =/
# OBSOLETE
# Whack out various autoconf vars that we don't need. # OBSOLETE # Whack out various autoconf vars that we don't need.
/@CONFIG_LDFLAGS@/s/@CONFIG_LDFLAGS@//g # OBSOLETE /@CONFIG_LDFLAGS@/s/@CONFIG_LDFLAGS@//g
/@HLDFLAGS@/s/@HLDFLAGS@//g # OBSOLETE /@HLDFLAGS@/s/@HLDFLAGS@//g
/@DEFS@/s/@DEFS@//g # OBSOLETE /@DEFS@/s/@DEFS@//g
/@YACC@/s/@YACC@/byacc/g # OBSOLETE /@YACC@/s/@YACC@/byacc/g
/@ENABLE_OBS@/s/@ENABLE_OBS@//g # OBSOLETE /@ENABLE_OBS@/s/@ENABLE_OBS@//g
/@ENABLE_CLIBS@/s/@ENABLE_CLIBS@//g # OBSOLETE /@ENABLE_CLIBS@/s/@ENABLE_CLIBS@//g
/@LIBS@/s/@LIBS@//g # OBSOLETE /@LIBS@/s/@LIBS@//g
# OBSOLETE
# Whack out autoconf hook for thread debugging. # OBSOLETE # Whack out autoconf hook for thread debugging.
/@THREAD_DB_OBS@/s/@THREAD_DB_OBS@//g # OBSOLETE /@THREAD_DB_OBS@/s/@THREAD_DB_OBS@//g
# OBSOLETE
# Fix up paths to include directories. # OBSOLETE # Fix up paths to include directories.
/INCLUDE_DIR/s/"{s}"{INCLUDE_DIR}/{INCLUDE_DIR}/g # OBSOLETE /INCLUDE_DIR/s/"{s}"{INCLUDE_DIR}/{INCLUDE_DIR}/g
/INCLUDE_DIR/s/{INCLUDE_DIR}:/{INCLUDE_DIR}/g # OBSOLETE /INCLUDE_DIR/s/{INCLUDE_DIR}:/{INCLUDE_DIR}/g
/INCLUDE_DIR/s/"{INCLUDE_DIR}":/"{INCLUDE_DIR}"/g # OBSOLETE /INCLUDE_DIR/s/"{INCLUDE_DIR}":/"{INCLUDE_DIR}"/g
# OBSOLETE
/{BFD_DIR}/s/"{BFD_DIR}":/"{BFD_DIR}"/g # OBSOLETE /{BFD_DIR}/s/"{BFD_DIR}":/"{BFD_DIR}"/g
/{BFD_DIR}/s/\([ ]\){BFD_DIR}/\1::{BFD_DIR}/g # OBSOLETE /{BFD_DIR}/s/\([ ]\){BFD_DIR}/\1::{BFD_DIR}/g
/{BFD_DIR}/s/\([ ]\)"{BFD_DIR}"/\1::"{BFD_DIR}"/g # OBSOLETE /{BFD_DIR}/s/\([ ]\)"{BFD_DIR}"/\1::"{BFD_DIR}"/g
# OBSOLETE
/{BFD_SRC}/s/"{s}"{BFD_SRC}/{BFD_SRC}/g # OBSOLETE /{BFD_SRC}/s/"{s}"{BFD_SRC}/{BFD_SRC}/g
/{BFD_SRC}/s/{BFD_SRC}:/{BFD_SRC}/g # OBSOLETE /{BFD_SRC}/s/{BFD_SRC}:/{BFD_SRC}/g
# OBSOLETE
/{READLINE_SRC}/s/"{s}"{READLINE_SRC}/{READLINE_SRC}/g # OBSOLETE /{READLINE_SRC}/s/"{s}"{READLINE_SRC}/{READLINE_SRC}/g
# OBSOLETE
/^readline_headers =/,/^$/c\ # OBSOLETE /^readline_headers =/,/^$/c\
readline_headers =\ # OBSOLETE readline_headers =\
# OBSOLETE
# OBSOLETE
# This isn't really useful, and seems to cause nonsensical complaints. # OBSOLETE # This isn't really useful, and seems to cause nonsensical complaints.
/{ALLDEPFILES}/s/{ALLDEPFILES}//g # OBSOLETE /{ALLDEPFILES}/s/{ALLDEPFILES}//g
# OBSOLETE
/^copying.c \\Option-f /,/^$/d # OBSOLETE /^copying.c \\Option-f /,/^$/d
# OBSOLETE
# Fix the syntax of bits of C code that go into version.c. # OBSOLETE # Fix the syntax of bits of C code that go into version.c.
/char /s/'char .Option-x/'char */ # OBSOLETE /char /s/'char .Option-x/'char */
# OBSOLETE
# Point at files in the obj dir rather than src dir. # OBSOLETE # Point at files in the obj dir rather than src dir.
/version/s/"{s}"version\.c/"{o}"version.c/g # OBSOLETE /version/s/"{s}"version\.c/"{o}"version.c/g
/version/s/^version\.c/"{o}"version.c/ # OBSOLETE /version/s/^version\.c/"{o}"version.c/
/config/s/"{s}"config\.h/"{o}"config.h/g # OBSOLETE /config/s/"{s}"config\.h/"{o}"config.h/g
/config/s/^config\.h/"{o}"config.h/ # OBSOLETE /config/s/^config\.h/"{o}"config.h/
/xm/s/"{s}"xm\.h/"{o}"xm.h/g # OBSOLETE /xm/s/"{s}"xm\.h/"{o}"xm.h/g
/xm/s/^xm\.h/"{o}"xm.h/ # OBSOLETE /xm/s/^xm\.h/"{o}"xm.h/
/tm/s/"{s}"tm\.h/"{o}"tm.h/g # OBSOLETE /tm/s/"{s}"tm\.h/"{o}"tm.h/g
/tm/s/^tm\.h/"{o}"tm.h/ # OBSOLETE /tm/s/^tm\.h/"{o}"tm.h/
/nm/s/"{s}"nm\.h/"{o}"nm.h/g # OBSOLETE /nm/s/"{s}"nm\.h/"{o}"nm.h/g
/nm/s/^nm\.h/"{o}"nm.h/ # OBSOLETE /nm/s/^nm\.h/"{o}"nm.h/
# OBSOLETE
/exp.tab.c/s/"{s}"\([a-z0-9]*\)-exp\.tab\.c/"{o}"\1-exp.tab.c/g # OBSOLETE /exp.tab.c/s/"{s}"\([a-z0-9]*\)-exp\.tab\.c/"{o}"\1-exp.tab.c/g
/exp.tab.c/s/^\([a-z0-9]*\)-exp\.tab\.c/"{o}"\1-exp.tab.c/ # OBSOLETE /exp.tab.c/s/^\([a-z0-9]*\)-exp\.tab\.c/"{o}"\1-exp.tab.c/
# OBSOLETE
/y.tab/s/"{s}"y.tab\.c/"{o}"y.tab.c/g # OBSOLETE /y.tab/s/"{s}"y.tab\.c/"{o}"y.tab.c/g
/y.tab/s/^y.tab\.c/"{o}"y.tab.c/ # OBSOLETE /y.tab/s/^y.tab\.c/"{o}"y.tab.c/
# OBSOLETE
/init/s/"{s}"init\.c-tmp/"{o}"init.c-tmp/g # OBSOLETE /init/s/"{s}"init\.c-tmp/"{o}"init.c-tmp/g
/init/s/^init\.c-tmp/"{o}"init.c-tmp/ # OBSOLETE /init/s/^init\.c-tmp/"{o}"init.c-tmp/
/init/s/"{s}"init\.c/"{o}"init.c/g # OBSOLETE /init/s/"{s}"init\.c/"{o}"init.c/g
/init/s/^init\.c/"{o}"init.c/ # OBSOLETE /init/s/^init\.c/"{o}"init.c/
# OBSOLETE
# Fix up the generation of version.c. # OBSOLETE # Fix up the generation of version.c.
/"{o}"version.c \\Option-f Makefile/,/^$/c\ # OBSOLETE /"{o}"version.c \\Option-f Makefile/,/^$/c\
"{o}"version.c \\Option-f Makefile\ # OBSOLETE "{o}"version.c \\Option-f Makefile\
echo -n 'char *version = "' >"{o}"version.c\ # OBSOLETE echo -n 'char *version = "' >"{o}"version.c\
echo -n "{VERSION}" >>"{o}"version.c\ # OBSOLETE echo -n "{VERSION}" >>"{o}"version.c\
echo '";' >>"{o}"version.c\ # OBSOLETE echo '";' >>"{o}"version.c\
echo -n 'char *host_name = "' >>"{o}"version.c\ # OBSOLETE echo -n 'char *host_name = "' >>"{o}"version.c\
echo -n "{host_alias}" >>"{o}"version.c\ # OBSOLETE echo -n "{host_alias}" >>"{o}"version.c\
echo '";' >>"{o}"version.c\ # OBSOLETE echo '";' >>"{o}"version.c\
echo -n 'char *target_name = "' >>"{o}"version.c\ # OBSOLETE echo -n 'char *target_name = "' >>"{o}"version.c\
echo -n "{target_alias}" >>"{o}"version.c\ # OBSOLETE echo -n "{target_alias}" >>"{o}"version.c\
echo '";' >>"{o}"version.c\ # OBSOLETE echo '";' >>"{o}"version.c\
# OBSOLETE
# OBSOLETE
/ansidecl/s/include "{s}""ansidecl.h"/include "ansidecl.h"/ # OBSOLETE /ansidecl/s/include "{s}""ansidecl.h"/include "ansidecl.h"/
# OBSOLETE
# Open-brace in a command causes much confusion; replace with the # OBSOLETE # Open-brace in a command causes much confusion; replace with the
# result from a script. # OBSOLETE # result from a script.
/initialize_all_files ()/c\ # OBSOLETE /initialize_all_files ()/c\
Echo -n 'void initialize_all_files () ' >> "{o}"init.c-tmp\ # OBSOLETE Echo -n 'void initialize_all_files () ' >> "{o}"init.c-tmp\
open-brace >> "{o}"init.c-tmp # OBSOLETE open-brace >> "{o}"init.c-tmp
# OBSOLETE
# Replace the whole sed bit for init.c; it's simpler that way... # OBSOLETE # Replace the whole sed bit for init.c; it's simpler that way...
/echo {OBS} {TSOBS}/,/echo '}'/c\ # OBSOLETE /echo {OBS} {TSOBS}/,/echo '}'/c\
For i in {OBS} {TSOBS}\ # OBSOLETE For i in {OBS} {TSOBS}\
Set filename "`Echo {i} | sed \\Option-d\ # OBSOLETE Set filename "`Echo {i} | sed \\Option-d\
-e '/^Onindy.c.o/d' \\Option-d\ # OBSOLETE -e '/^Onindy.c.o/d' \\Option-d\
-e '/^nindy.c.o/d' \\Option-d\ # OBSOLETE -e '/^nindy.c.o/d' \\Option-d\
-e '/ttyflush.c.o/d' \\Option-d\ # OBSOLETE -e '/ttyflush.c.o/d' \\Option-d\
-e '/xdr_ld.c.o/d' \\Option-d\ # OBSOLETE -e '/xdr_ld.c.o/d' \\Option-d\
-e '/xdr_ptrace.c.o/d' \\Option-d\ # OBSOLETE -e '/xdr_ptrace.c.o/d' \\Option-d\
-e '/xdr_rdb.c.o/d' \\Option-d\ # OBSOLETE -e '/xdr_rdb.c.o/d' \\Option-d\
-e '/udr.c.o/d' \\Option-d\ # OBSOLETE -e '/udr.c.o/d' \\Option-d\
-e '/udip2soc.c.o/d' \\Option-d\ # OBSOLETE -e '/udip2soc.c.o/d' \\Option-d\
-e '/udi2go32.c.o/d' \\Option-d\ # OBSOLETE -e '/udi2go32.c.o/d' \\Option-d\
-e '/version.c.o/d' \\Option-d\ # OBSOLETE -e '/version.c.o/d' \\Option-d\
-e '/[a-z0-9A-Z_]*-exp.tab.c.o/d' \\Option-d\ # OBSOLETE -e '/[a-z0-9A-Z_]*-exp.tab.c.o/d' \\Option-d\
-e 's/\\.c\\.o/.c/' \\Option-d\ # OBSOLETE -e 's/\\.c\\.o/.c/' \\Option-d\
-e 's/^://'`"\ # OBSOLETE -e 's/^://'`"\
If "{filename}" != ""\ # OBSOLETE If "{filename}" != ""\
sed <"{s}""{filename}" >>"{o}"init.c-tmp -n \\Option-d\ # OBSOLETE sed <"{s}""{filename}" >>"{o}"init.c-tmp -n \\Option-d\
-e '/^_initialize_[a-z_0-9A-Z]* *(/s/^\\([a-z_0-9A-Z]*\\).*/ {extern void \\1 (); \\1 ();}/p'\ # OBSOLETE -e '/^_initialize_[a-z_0-9A-Z]* *(/s/^\\([a-z_0-9A-Z]*\\).*/ {extern void \\1 (); \\1 ();}/p'\
End If\ # OBSOLETE End If\
End For\ # OBSOLETE End For\
Echo '}' >>"{o}"init.c-tmp # OBSOLETE Echo '}' >>"{o}"init.c-tmp
# OBSOLETE
# Fix the main compile/link command. # OBSOLETE # Fix the main compile/link command.
/{CC_LD} {INTERNAL_LDFLAGS} -o gdb/,/"{o}"init.c.o {OBS} {TSOBS} {ADD_FILES} {CLIBS} {LOADLIBES}/c\ # OBSOLETE /{CC_LD} {INTERNAL_LDFLAGS} -o gdb/,/"{o}"init.c.o {OBS} {TSOBS} {ADD_FILES} {CLIBS} {LOADLIBES}/c\
{CC_LD} {INTERNAL_LDFLAGS} -o gdb{PROG_EXT} "{o}"init.c.o {OBS} {TSOBS} {ADD_FILES} {CLIBS} {LOADLIBES} {EXTRALIBS}\ # OBSOLETE {CC_LD} {INTERNAL_LDFLAGS} -o gdb{PROG_EXT} "{o}"init.c.o {OBS} {TSOBS} {ADD_FILES} {CLIBS} {LOADLIBES} {EXTRALIBS}\
{MAKEPEF} gdb{PROG_EXT} -o gdb {MAKEPEF_TOOL_FLAGS} {MAKEPEF_FLAGS}\ # OBSOLETE {MAKEPEF} gdb{PROG_EXT} -o gdb {MAKEPEF_TOOL_FLAGS} {MAKEPEF_FLAGS}\
{REZ} "{s}"mac-gdb.r -o gdb -append -d PROG_NAME='"'gdb'"' -d VERSION_STRING='"'{version}'"'\ # OBSOLETE {REZ} "{s}"mac-gdb.r -o gdb -append -d PROG_NAME='"'gdb'"' -d VERSION_STRING='"'{version}'"'\
# OBSOLETE
# Replace the install actions with MPW-friendly script. # OBSOLETE # Replace the install actions with MPW-friendly script.
/^install \\Option-f /,/^$/c\ # OBSOLETE /^install \\Option-f /,/^$/c\
install \\Option-f all install-only\ # OBSOLETE install \\Option-f all install-only\
\ # OBSOLETE \
install-only \\Option-f \ # OBSOLETE install-only \\Option-f \
NewFolderRecursive "{bindir}"\ # OBSOLETE NewFolderRecursive "{bindir}"\
Duplicate -y gdb "{bindir}"gdb\ # OBSOLETE Duplicate -y gdb "{bindir}"gdb\
If "`Exists SiowGDB`" != ""\ # OBSOLETE If "`Exists SiowGDB`" != ""\
Duplicate -y SiowGDB "{bindir}"SiowGDB\ # OBSOLETE Duplicate -y SiowGDB "{bindir}"SiowGDB\
End If\ # OBSOLETE End If\
# OBSOLETE
# OBSOLETE
# Don't do any recursive subdir stuff. # OBSOLETE # Don't do any recursive subdir stuff.
/ subdir_do/s/{MAKE}/null-command/ # OBSOLETE / subdir_do/s/{MAKE}/null-command/
# OBSOLETE
# Edit out actions that only confuse MPW Make. # OBSOLETE # Edit out actions that only confuse MPW Make.
/^config.status \\Option-f/,/^$/d # OBSOLETE /^config.status \\Option-f/,/^$/d
/^Makefile \\Option-f/,/^$/d # OBSOLETE /^Makefile \\Option-f/,/^$/d
# OBSOLETE
# Don't test config.h dependencies. # OBSOLETE # Don't test config.h dependencies.
/^"{o}"config.h \\Option-f/s/^/#/ # OBSOLETE /^"{o}"config.h \\Option-f/s/^/#/
# OBSOLETE
# Add an action to build SIOWgdb. # OBSOLETE # Add an action to build SIOWgdb.
$a\ # OBSOLETE $a\
SIOWgdb \\Option-f {OBS} {TSOBS} {ADD_DEPS} {CDEPS} "{o}"init.c.o\ # OBSOLETE SIOWgdb \\Option-f {OBS} {TSOBS} {ADD_DEPS} {CDEPS} "{o}"init.c.o\
Delete -i -y SIOWgdb\ # OBSOLETE Delete -i -y SIOWgdb\
{CC_LD} {INTERNAL_LDFLAGS} -t 'APPL' -c 'gdb ' -o SIOWgdb{PROG_EXT} "{o}"init.c.o {OBS} {TSOBS} {ADD_FILES} {CLIBS} {SIOW_LIB} {LOADLIBES} {EXTRALIBS}\ # OBSOLETE {CC_LD} {INTERNAL_LDFLAGS} -t 'APPL' -c 'gdb ' -o SIOWgdb{PROG_EXT} "{o}"init.c.o {OBS} {TSOBS} {ADD_FILES} {CLIBS} {SIOW_LIB} {LOADLIBES} {EXTRALIBS}\
{MAKEPEF} SIOWgdb{PROG_EXT} -o SIOWgdb -ft 'APPL' -fc 'gdb ' {MAKEPEF_FLAGS} \ # OBSOLETE {MAKEPEF} SIOWgdb{PROG_EXT} -o SIOWgdb -ft 'APPL' -fc 'gdb ' {MAKEPEF_FLAGS} \
{REZ} -o SIOWgdb "{RIncludes}"siow.r -append -d __kPrefSize=5000 -d __kMinSize=2000 -d APPNAME='"'SIOWgdb'"' \ # OBSOLETE {REZ} -o SIOWgdb "{RIncludes}"siow.r -append -d __kPrefSize=5000 -d __kMinSize=2000 -d APPNAME='"'SIOWgdb'"' \
{REZ} "{s}"mac-gdb.r -o SIOWgdb -append -d VERSION_STRING='"'{version}'"'\ # OBSOLETE {REZ} "{s}"mac-gdb.r -o SIOWgdb -append -d VERSION_STRING='"'{version}'"'\

View File

@ -609,22 +609,22 @@ done:
filename, NULL); filename, NULL);
} }
} }
#ifdef MPW /* OBSOLETE #ifdef MPW */
/* This is a debugging hack that can go away when all combinations /* OBSOLETE This is a debugging hack that can go away when all combinations */
of Mac and Unix names are handled reasonably. */ /* OBSOLETE of Mac and Unix names are handled reasonably. */
{ /* OBSOLETE { */
extern int debug_openp; /* OBSOLETE extern int debug_openp; */
/* OBSOLETE */
if (debug_openp) /* OBSOLETE if (debug_openp) */
{ /* OBSOLETE { */
printf ("openp on %s, path %s mode %d prot %d\n returned %d", /* OBSOLETE printf ("openp on %s, path %s mode %d prot %d\n returned %d", */
string, path, mode, prot, fd); /* OBSOLETE string, path, mode, prot, fd); */
if (*filename_opened) /* OBSOLETE if (*filename_opened) */
printf (" (filename is %s)", *filename_opened); /* OBSOLETE printf (" (filename is %s)", *filename_opened); */
printf ("\n"); /* OBSOLETE printf ("\n"); */
} /* OBSOLETE } */
} /* OBSOLETE } */
#endif /* MPW */ /* OBSOLETE #endif *//* MPW */
return fd; return fd;
} }
@ -710,22 +710,22 @@ open_source_file (struct symtab *s)
if (p != s->filename) if (p != s->filename)
result = openp (path, 0, p, OPEN_MODE, 0, &s->fullname); result = openp (path, 0, p, OPEN_MODE, 0, &s->fullname);
} }
#ifdef MPW /* OBSOLETE #ifdef MPW */
if (result < 0) /* OBSOLETE if (result < 0) */
{ /* OBSOLETE { */
/* Didn't work. Try using just the MPW basename. */ /* OBSOLETE *//* Didn't work. Try using just the MPW basename. */
p = (char *) mpw_basename (s->filename); /* OBSOLETE p = (char *) mpw_basename (s->filename); */
if (p != s->filename) /* OBSOLETE if (p != s->filename) */
result = openp (path, 0, p, OPEN_MODE, 0, &s->fullname); /* OBSOLETE result = openp (path, 0, p, OPEN_MODE, 0, &s->fullname); */
} /* OBSOLETE } */
if (result < 0) /* OBSOLETE if (result < 0) */
{ /* OBSOLETE { */
/* Didn't work. Try using the mixed Unix/MPW basename. */ /* OBSOLETE *//* Didn't work. Try using the mixed Unix/MPW basename. */
p = (char *) mpw_mixed_basename (s->filename); /* OBSOLETE p = (char *) mpw_mixed_basename (s->filename); */
if (p != s->filename) /* OBSOLETE if (p != s->filename) */
result = openp (path, 0, p, OPEN_MODE, 0, &s->fullname); /* OBSOLETE result = openp (path, 0, p, OPEN_MODE, 0, &s->fullname); */
} /* OBSOLETE } */
#endif /* MPW */ /* OBSOLETE #endif MPW */
if (result >= 0) if (result >= 0)
{ {

View File

@ -1002,11 +1002,11 @@ gdb_readline (char *prompt_arg)
character position to be off, since the newline we read from character position to be off, since the newline we read from
the user is not accounted for. */ the user is not accounted for. */
fputs_unfiltered (prompt_arg, gdb_stdout); fputs_unfiltered (prompt_arg, gdb_stdout);
#ifdef MPW /* OBSOLETE #ifdef MPW */
/* Move to a new line so the entered line doesn't have a prompt /* OBSOLETE Move to a new line so the entered line doesn't have a prompt */
on the front of it. */ /* OBSOLETE on the front of it. */
fputs_unfiltered ("\n", gdb_stdout); /* OBSOLETE fputs_unfiltered ("\n", gdb_stdout); */
#endif /* MPW */ /* OBSOLETE #endif *//* MPW */
gdb_flush (gdb_stdout); gdb_flush (gdb_stdout);
} }

View File

@ -1262,11 +1262,11 @@ query (char *ctlstr,...)
/* Automatically answer "yes" if input is not from a terminal. */ /* Automatically answer "yes" if input is not from a terminal. */
if (!input_from_terminal_p ()) if (!input_from_terminal_p ())
return 1; return 1;
#ifdef MPW /* OBSOLETE #ifdef MPW */
/* FIXME Automatically answer "yes" if called from MacGDB. */ /* OBSOLETE *//* FIXME Automatically answer "yes" if called from MacGDB. */
if (mac_app) /* OBSOLETE if (mac_app) */
return 1; /* OBSOLETE return 1; */
#endif /* MPW */ /* OBSOLETE #endif *//* MPW */
while (1) while (1)
{ {
@ -1282,12 +1282,12 @@ query (char *ctlstr,...)
if (annotation_level > 1) if (annotation_level > 1)
printf_filtered ("\n\032\032query\n"); printf_filtered ("\n\032\032query\n");
#ifdef MPW /* OBSOLETE #ifdef MPW */
/* If not in MacGDB, move to a new line so the entered line doesn't /* OBSOLETE *//* If not in MacGDB, move to a new line so the entered line doesn't */
have a prompt on the front of it. */ /* OBSOLETE have a prompt on the front of it. */
if (!mac_app) /* OBSOLETE if (!mac_app) */
fputs_unfiltered ("\n", gdb_stdout); /* OBSOLETE fputs_unfiltered ("\n", gdb_stdout); */
#endif /* MPW */ /* OBSOLETE #endif *//* MPW */
wrap_here (""); wrap_here ("");
gdb_flush (gdb_stdout); gdb_flush (gdb_stdout);
@ -1562,7 +1562,7 @@ init_page_info (void)
lines_per_page = 24; lines_per_page = 24;
chars_per_line = 80; chars_per_line = 80;
#if !defined (MPW) && !defined (_WIN32) #if !defined (_WIN32)
/* No termcap under MPW, although might be cool to do something /* No termcap under MPW, although might be cool to do something
by looking at worksheet or console window sizes. */ by looking at worksheet or console window sizes. */
/* Initialize the screen height and width from termcap. */ /* Initialize the screen height and width from termcap. */