mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
* mpw-config.in (i386-unknown-go32): Change from aout.
(sh-hitachi-hms): New target. * mpw-make.in (BISON): Use byacc instead of bison. (VERSION): Bump to 4.14.1. (*-pinsn.*): Remove mentions everywhere. (all): Don't build MacGDB. (gdb, SiowGDB): Depend on Version.r. (Version.r): Generate from version info. * main.c (main): Pass program name to START_PROGRESS, END_PROGRESS. (main) [MPW]: Remove debugging hook. * mac-xdep.c (debug_openp): New flag. (mac_init): Set flag if env variable defined. * ser-mac.c (mac_open): Clarify error message. (mac_readchar): Call PROGRESS while looping. (mac_write): Call sleep instead of sec_sleep. (sec_sleep): Remove. * source.c (openp) [MPW]: Only print debugging info if debugging. * utils.c (query) [MPW]: Clarify that behavior is a bug.
This commit is contained in:
@ -54,7 +54,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
#ifdef MPW
|
||||
#define QD(whatever) (qd.##whatever)
|
||||
#define QDPat(whatever) (&(qd.##whatever))
|
||||
#endif
|
||||
#endif /* MPW */
|
||||
|
||||
#ifdef THINK_C
|
||||
#define QD(whatever) (whatever)
|
||||
@ -81,6 +81,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
|
||||
#include "mac-defs.h"
|
||||
|
||||
int debug_openp = 0;
|
||||
|
||||
/* This is true if we are running as a standalone application. */
|
||||
|
||||
int mac_app;
|
||||
@ -123,6 +125,7 @@ mac_init ()
|
||||
{
|
||||
SysEnvRec se;
|
||||
int eventloopdone = 0;
|
||||
char *str;
|
||||
Boolean gotevent;
|
||||
Point mouse;
|
||||
EventRecord event;
|
||||
@ -135,6 +138,13 @@ mac_init ()
|
||||
|
||||
mac_app = 0;
|
||||
|
||||
str = getenv("DEBUG_GDB");
|
||||
if (str != NULL && str[0] != '\0')
|
||||
{
|
||||
if (strcmp(str, "openp") == 0)
|
||||
debug_openp = 1;
|
||||
}
|
||||
|
||||
/* Don't do anything if we`re running under MPW. */
|
||||
if (!StandAlone)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user