mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 12:39:59 +00:00
2005-01-18 Andrew Cagney <cagney@gnu.org>
* remote.c (remote_open_1): Use throw_exception.
This commit is contained in:
parent
1449d79bae
commit
9ee907e0a0
@ -1,3 +1,7 @@
|
||||
2005-01-18 Andrew Cagney <cagney@gnu.org>
|
||||
|
||||
* remote.c (remote_open_1): Use throw_exception.
|
||||
|
||||
2005-01-17 Michael Snyder <msnyder@redhat.com>
|
||||
|
||||
* mips-linux-tdep.c: Whitespace tweaks.
|
||||
|
@ -2257,14 +2257,12 @@ remote_open_1 (char *name, int from_tty, struct target_ops *target,
|
||||
all the ``target ....'' commands to share a common callback
|
||||
function. See cli-dump.c. */
|
||||
ex = catch_exception (uiout, remote_start_remote, NULL, RETURN_MASK_ALL);
|
||||
exception_fprintf (gdb_stderr, ex, "Couldn't establish connection to remote"
|
||||
" target\n");
|
||||
if (ex.reason < 0)
|
||||
{
|
||||
pop_target ();
|
||||
if (async_p)
|
||||
wait_forever_enabled_p = 1;
|
||||
throw_reason (ex.reason);
|
||||
throw_exception (ex);
|
||||
}
|
||||
|
||||
if (async_p)
|
||||
|
Loading…
Reference in New Issue
Block a user