aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1991-04-20 03:59:44 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1991-04-20 03:59:44 +0000
commit98885d766ec6a495760d87d8677fca99b9efc91a (patch)
treeaaf2376e1037f7bc531e8cf642bf84ddf0ce4522 /gdb/infrun.c
parentf2ebc25fc2b9137c3fa0a3607d8e77c7e372226a (diff)
downloadgdb-98885d766ec6a495760d87d8677fca99b9efc91a.zip
gdb-98885d766ec6a495760d87d8677fca99b9efc91a.tar.gz
gdb-98885d766ec6a495760d87d8677fca99b9efc91a.tar.bz2
infrun.c (start_remote): Also call wait_for_inferior & normal_stop.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 1cca592..ac15f37 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -599,6 +599,8 @@ start_remote ()
clear_proceed_status ();
stop_soon_quietly = 1;
trap_expected = 0;
+ wait_for_inferior ();
+ normal_stop ();
}
/* Initialize static vars when a new inferior begins. */