aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-06-30 21:24:57 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-06-30 21:24:57 +0000
commit018d94f53c3a2bbf5b6cbd3f09a6aa4f51bb997e (patch)
tree668d559faa3b5ccdc012a734a8833487c6b7764e /gdb
parent04f0c2e34b259241ca77744956b7da5405e6a3f9 (diff)
downloadgdb-018d94f53c3a2bbf5b6cbd3f09a6aa4f51bb997e.zip
gdb-018d94f53c3a2bbf5b6cbd3f09a6aa4f51bb997e.tar.gz
gdb-018d94f53c3a2bbf5b6cbd3f09a6aa4f51bb997e.tar.bz2
* infrun.c (wait_for_inferior): Print "Program exited normally"
regardless of batch_mode. * defs.h, top.c (batch_mode): Removed.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/top.c7
2 files changed, 6 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b468fbc..49eb1d1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+Thu Jun 30 13:59:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * infrun.c (wait_for_inferior): Print "Program exited normally"
+ regardless of batch_mode.
+ * defs.h, top.c (batch_mode): Removed.
+
Wed Jun 29 18:53:36 1994 Stan Shebs (shebs@andros.cygnus.com)
* Makefile.in (dcache_h): Remove redundant definition.
diff --git a/gdb/top.c b/gdb/top.c
index 692df82..8e6d56c 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -2234,13 +2234,6 @@ int signo;
error ("Erroneous arithmetic operation.");
}
-/* Return whether we are running a batch file or from terminal. */
-int
-batch_mode ()
-{
- return !(instream == stdin && ISATTY (stdin));
-}
-
static void
init_cmd_lists ()