aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-07-16 14:13:06 +0000
committerEli Zaretskii <eliz@gnu.org>2001-07-16 14:13:06 +0000
commit2584159ed946bc2182960a1bdf06f754c177ce50 (patch)
treeabcccf8e2cfe951533dee77206fbc70a483d5598 /gdb/defs.h
parentcf54db79854a6aa8c4ef1b30be76db59744a45ef (diff)
downloadgdb-2584159ed946bc2182960a1bdf06f754c177ce50.zip
gdb-2584159ed946bc2182960a1bdf06f754c177ce50.tar.gz
gdb-2584159ed946bc2182960a1bdf06f754c177ce50.tar.bz2
* cli/cli-cmds.c (shell_escape) [GLOBAL_CURDIR]: Condition the
call to chdir on this symbol rather than on __DJGPP__. (CANT_FORK) [__MSDOS__]: Move from here... * defs.h (CANT_FORK) [__MSDOS__]: ...to here. (GLOBAL_CURDIR) [__MSDOS__]: Define.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 7872b3b..b54a616 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -1403,6 +1403,11 @@ extern int use_windows;
#endif
#endif
+#ifdef __MSDOS__
+# define CANT_FORK
+# define GLOBAL_CURDIR
+#endif
+
/* Provide default definitions of PIDGET, TIDGET, and MERGEPID.
The name ``TIDGET'' is a historical accident. Many uses of TIDGET
in the code actually refer to a lightweight process id, i.e,