diff options
author | qiyao <qiyao> | 2011-06-23 15:08:00 +0000 |
---|---|---|
committer | qiyao <qiyao> | 2011-06-23 15:08:00 +0000 |
commit | e5d6c919ca5e3ac435781aa2a3d03012fbe75a27 (patch) | |
tree | 2a5ed25a5d4386810b0d03d57e53243496942550 /gdb/monitor.c | |
parent | 0823e0bde5e84c0a27ed0c32b00fc18d36d6cf27 (diff) | |
download | gdb-e5d6c919ca5e3ac435781aa2a3d03012fbe75a27.tar.gz |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/monitor.c b/gdb/monitor.c index 79fa1ba88d8..90f36d9e721 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); } |