diff options
author | Pedro Alves <palves@redhat.com> | 2012-03-20 18:14:16 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-03-20 18:14:16 +0000 |
commit | e278ad5be65114f92eba2b2609bddd7c058376a8 (patch) | |
tree | fac1467a1f553f68423de8d9d88ad8138bf59201 /gdb/remote.c | |
parent | 7465e07a575987962b4f1ade6656d5dfbe8fa78e (diff) | |
download | gdb-e278ad5be65114f92eba2b2609bddd7c058376a8.zip gdb-e278ad5be65114f92eba2b2609bddd7c058376a8.tar.gz gdb-e278ad5be65114f92eba2b2609bddd7c058376a8.tar.bz2 |
2012-03-20 Pedro Alves <palves@redhat.com>
* remote.c (remote_start_remote): Clear `rs->starting_up' on early
returns.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index c246067..caf6116 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -3378,6 +3378,7 @@ remote_start_remote (int from_tty, struct target_ops *target, int extended_p) /* We're connected, but not running. Drop out before we call start_remote. */ + rs->starting_up = 0; return; } else @@ -3469,6 +3470,7 @@ remote_start_remote (int from_tty, struct target_ops *target, int extended_p) /* We're connected, but not running. Drop out before we call start_remote. */ + rs->starting_up = 0; return; } |