aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m68k/xm-mpw.h
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-04-27 00:55:59 +0000
committerStan Shebs <shebs@codesourcery.com>1994-04-27 00:55:59 +0000
commit939baabee2329b56de4a0c44c8030a9c9f57841e (patch)
treeec95f72bfc357bc3e132d0dc7c53107b306695d3 /gdb/config/m68k/xm-mpw.h
parent028f88721998a18e317360487e3a9109a3b866df (diff)
downloadfsf-binutils-gdb-939baabee2329b56de4a0c44c8030a9c9f57841e.zip
fsf-binutils-gdb-939baabee2329b56de4a0c44c8030a9c9f57841e.tar.gz
fsf-binutils-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/m68k/xm-mpw.h')
-rw-r--r--gdb/config/m68k/xm-mpw.h23
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