aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-05-14 23:12:29 +0000
committerStan Shebs <shebs@codesourcery.com>1994-05-14 23:12:29 +0000
commit16d2cc8084cbaa083e874e6ac11e2181c65265f2 (patch)
tree745aea8133739862df18f6ef584c2059029c5d68 /gdb/utils.c
parentd8fc87731898508fa3fe2e138264a4f06836f1fc (diff)
downloadgdb-16d2cc8084cbaa083e874e6ac11e2181c65265f2.zip
gdb-16d2cc8084cbaa083e874e6ac11e2181c65265f2.tar.gz
gdb-16d2cc8084cbaa083e874e6ac11e2181c65265f2.tar.bz2
Sat May 14 15:13:52 1994 Stan Shebs (shebs@andros.cygnus.com)
* inflow.c (job_control, attach_flag, generic_mourn_inferior): Remove, needed for both native and cross. * target.c (attach_flag, generic_mourn_inferior): Put here. * utils.c (job_control): Put here. (terminal.h): Don't include anymore.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index b914c5b..1956984 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -30,7 +30,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "signals.h"
#include "gdbcmd.h"
#include "serial.h"
-#include "terminal.h" /* For job_control */
#include "bfd.h"
#include "target.h"
#include "demangle.h"
@@ -73,6 +72,10 @@ set_width_command PARAMS ((char *, int, struct cmd_list_element *));
static struct cleanup *cleanup_chain;
+/* Nonzero if we have job control. */
+
+int job_control;
+
/* Nonzero means a quit has been requested. */
int quit_flag;