diff options
author | Pedro Alves <palves@redhat.com> | 2016-03-30 14:03:08 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-03-30 14:03:08 +0100 |
commit | 0ec8af40e1cd0bf693dd629638700315ce10b9be (patch) | |
tree | 16db65946e5a9de43856aca54e4b5ad406318062 | |
parent | 4d4de61cd3930ac7d697aa056c0f264c243ba584 (diff) | |
download | binutils-gdb-users/palves/immediate_quit_pr19855.tar.gz |
Fix remote_terminal_inferiorusers/palves/immediate_quit_pr19855
-rw-r--r-- | gdb/remote.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index 2607c9dbe7f..eb55c63c1ad 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -5003,11 +5003,11 @@ remote_open_1 (const char *name, int from_tty, readahead_cache_invalidate (); + /* Start out by owning the terminal. */ + remote_async_terminal_ours_p = 1; + if (target_async_permitted) { - /* With this target we start out by owning the terminal. */ - remote_async_terminal_ours_p = 1; - /* FIXME: cagney/1999-09-23: During the initial connection it is assumed that the target is already ready and able to respond to requests. Unfortunately remote_start_remote() eventually calls |