aboutsummaryrefslogtreecommitdiff
path: root/gdb/inflow.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/inflow.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/inflow.c')
-rw-r--r--gdb/inflow.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/gdb/inflow.c b/gdb/inflow.c
index fc0bc35..4ccbd36 100644
--- a/gdb/inflow.c
+++ b/gdb/inflow.c
@@ -57,16 +57,6 @@ kill_command PARAMS ((char *, int));
static void
terminal_ours_1 PARAMS ((int));
-
-/* Nonzero if we have job control. */
-
-int job_control;
-
-/* Nonzero if we are debugging an attached outside process
- rather than an inferior. */
-
-int attach_flag;
-
/* Record terminal status separately for debugger and inferior. */
@@ -562,29 +552,6 @@ kill_command (arg, from_tty)
print_stack_frame (selected_frame, selected_frame_level, 1);
}
}
-
-/* The inferior process has died. Long live the inferior! */
-
-void
-generic_mourn_inferior ()
-{
- inferior_pid = 0;
- attach_flag = 0;
- breakpoint_init_inferior ();
- registers_changed ();
-
-#ifdef CLEAR_DEFERRED_STORES
- /* Delete any pending stores to the inferior... */
- CLEAR_DEFERRED_STORES;
-#endif
-
- reopen_exec_file ();
- reinit_frame_cache ();
-
- /* It is confusing to the user for ignore counts to stick around
- from previous runs of the inferior. So clear them. */
- breakpoint_clear_ignore_counts ();
-}
/* Call set_sigint_trap when you need to pass a signal on to an attached
process when handling SIGINT */