diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-04-27 00:55:59 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-04-27 00:55:59 +0000 |
commit | 939baabee2329b56de4a0c44c8030a9c9f57841e (patch) | |
tree | ec95f72bfc357bc3e132d0dc7c53107b306695d3 /gdb/config | |
parent | 028f88721998a18e317360487e3a9109a3b866df (diff) | |
download | gdb-939baabee2329b56de4a0c44c8030a9c9f57841e.zip gdb-939baabee2329b56de4a0c44c8030a9c9f57841e.tar.gz gdb-939baabee2329b56de4a0c44c8030a9c9f57841e.tar.bz2 |
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.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/m68k/xm-mpw.h | 23 |
1 files changed, 21 insertions, 2 deletions
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 |