From 2584159ed946bc2182960a1bdf06f754c177ce50 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 16 Jul 2001 14:13:06 +0000 Subject: * 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. --- gdb/defs.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/defs.h') 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, -- cgit v1.1