aboutsummaryrefslogtreecommitdiff
path: root/gdb/monitor.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2011-06-23 15:08:01 +0000
committerYao Qi <yao@codesourcery.com>2011-06-23 15:08:01 +0000
commit6e586cc56592f85535f788391b4f48025311b465 (patch)
tree4c2095a48562733d810a5d8ee321166b9796c33b /gdb/monitor.c
parentab5c6a729c416841aeda2398f77d881aef09208f (diff)
downloadgdb-6e586cc56592f85535f788391b4f48025311b465.zip
gdb-6e586cc56592f85535f788391b4f48025311b465.tar.gz
gdb-6e586cc56592f85535f788391b4f48025311b465.tar.bz2
2011-06-23 Yao Qi <yao@codesourcery.com>
* infrun.c (start_remote): Move call init_wait_for_inferior to ... * remote.c (remote_start_remote): ... here. * monitor.c (monitor_open): ... here.
Diffstat (limited to 'gdb/monitor.c')
-rw-r--r--gdb/monitor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/monitor.c b/gdb/monitor.c
index 79fa1ba..90f36d9 100644
--- a/gdb/monitor.c
+++ b/gdb/monitor.c
@@ -844,6 +844,8 @@ monitor_open (char *args, struct monitor_ops *mon_ops, int from_tty)
monitor_printf (current_monitor->line_term);
+ init_wait_for_inferior ();
+
start_remote (from_tty);
}