diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-10-18 16:56:13 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-10-18 16:56:13 +0000 |
commit | 8621d6a94413b84d5d3353b717607194d7584943 (patch) | |
tree | 3f3e64904b3db0afa9355cc3e57e752b715b1526 /gdb/remote-sds.c | |
parent | 2f83a18e2abe9144bfbb72bc75a68ba64445a9e1 (diff) | |
download | gdb-8621d6a94413b84d5d3353b717607194d7584943.zip gdb-8621d6a94413b84d5d3353b717607194d7584943.tar.gz gdb-8621d6a94413b84d5d3353b717607194d7584943.tar.bz2 |
* inferior.h (start_remote): Update prototype.
* infrun.c (start_remote): Take FROM_TTY. Call
post_create_inferior.
* monitor.c (monitor_open): Update call to start_remote.
* remote-sds.c (sds_start_remote, sds_open): Likewise.
* remote.c (remote_start_remote): Likewise.
(remote_start_remote_dummy): Removed.
(remote_open): Update call to remote_start_remote. Do not call
post_create_inferior here.
Diffstat (limited to 'gdb/remote-sds.c')
-rw-r--r-- | gdb/remote-sds.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/remote-sds.c b/gdb/remote-sds.c index 8394ae5..b788792 100644 --- a/gdb/remote-sds.c +++ b/gdb/remote-sds.c @@ -148,8 +148,9 @@ sds_close (int quitting) /* Stub for catch_errors. */ static int -sds_start_remote (void *dummy) +sds_start_remote (void *from_tty_p) { + int from_tty = * (int *) from_tty; int c; unsigned char buf[200]; @@ -173,7 +174,7 @@ sds_start_remote (void *dummy) immediate_quit--; - start_remote (); /* Initialize gdb process mechanisms */ + start_remote (from_tty); /* Initialize gdb process mechanisms */ return 1; } @@ -224,7 +225,7 @@ device is attached to the remote system (e.g. /dev/ttya)."); /* Start the remote connection; if error (0), discard this target. In particular, if the user quits, be sure to discard it (we'd be in an inconsistent state otherwise). */ - if (!catch_errors (sds_start_remote, NULL, + if (!catch_errors (sds_start_remote, &from_tty, "Couldn't establish connection to remote target\n", RETURN_MASK_ALL)) pop_target (); |