From 939baabee2329b56de4a0c44c8030a9c9f57841e Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Wed, 27 Apr 1994 00:55:59 +0000 Subject: Tue Apr 26 17:44:27 1994 Stan Shebs (shebs@andros.cygnus.com) * mpw-make.in (MacGDB): New target, standalone Mac-hosted gdb. (XDEPFILES): Define. (main.c.o): Compile with gC instead of C. * mac-defs.h: New file, menu etc definitions shared between C and Rez files. * macgdb.r: New file, Rez (resource compiler) resource definitions. * mac-xdep.c: New file, Mac host interface code. * config/m68k/xm-mpw.h (PATHNAME_SEPARATOR): Rename to DIRNAME_SEPARATOR. (PATHNAME_SEPARATOR_STRING): Remove. (SIGQUIT, SIGHUP): Define. (fileno, R_OK): Define. --- gdb/config/m68k/xm-mpw.h | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'gdb/config/m68k/xm-mpw.h') diff --git a/gdb/config/m68k/xm-mpw.h b/gdb/config/m68k/xm-mpw.h index 7dabf75..a072db4 100644 --- a/gdb/config/m68k/xm-mpw.h +++ b/gdb/config/m68k/xm-mpw.h @@ -86,10 +86,29 @@ char *strdup (char *s1); #define GDBINIT_FILENAME "_gdbinit" -#define PATHNAME_SEPARATOR ',' +/* Commas are more common to separate dirnames in a path on Macs. */ -#define PATHNAME_SEPARATOR_STRING "," +#define DIRNAME_SEPARATOR ',' /* This is a real crufty hack. */ #define HAVE_TERMIO + +/* Addons to the basic MPW-supported signal list. */ + +#ifndef SIGQUIT +#define SIGQUIT (1<<6) +#endif +#ifndef SIGHUP +#define SIGHUP (1<<7) +#endif + +/* If __STDC__ is on, then this definition will be missing. */ + +#ifndef fileno +#define fileno(p) (p)->_file +#endif + +#ifndef R_OK +#define R_OK 4 +#endif -- cgit v1.1