aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-mips.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-07-28 15:28:53 +0000
committerIan Lance Taylor <ian@airs.com>1993-07-28 15:28:53 +0000
commit0907dc09325aff0e201656d2261efb0f73326383 (patch)
tree97bf3c8814d942c0c93b52ad2474b38d7afaa3e1 /gdb/remote-mips.c
parentffff16b39c68e8af3812324ccbb733e9cbab8df2 (diff)
downloadgdb-0907dc09325aff0e201656d2261efb0f73326383.zip
gdb-0907dc09325aff0e201656d2261efb0f73326383.tar.gz
gdb-0907dc09325aff0e201656d2261efb0f73326383.tar.bz2
* remote-mips.c (_initialize_remote_mips): Added "timeout" and
"retransmit-timeout" variables to set mips_receive_wait and mips_retransmit_wait, respectively.
Diffstat (limited to 'gdb/remote-mips.c')
-rw-r--r--gdb/remote-mips.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c
index ead760d..3cf3b60 100644
--- a/gdb/remote-mips.c
+++ b/gdb/remote-mips.c
@@ -1323,6 +1323,21 @@ _initialize_remote_mips ()
add_target (&mips_ops);
add_show_from_set (
+ add_set_cmd ("timeout", no_class, var_zinteger,
+ (char *) &mips_receive_wait,
+ "Set timeout in seconds for remote MIPS serial I/O.",
+ &setlist),
+ &showlist);
+
+ add_show_from_set (
+ add_set_cmd ("retransmit-timeout", no_class, var_zinteger,
+ (char *) &mips_retransmit_wait,
+ "Set retransmit timeout in seconds for remote MIPS serial I/O.\n\
+This is the number of seconds to wait for an acknowledgement to a packet\n\
+before resending the packet.", &setlist),
+ &showlist);
+
+ add_show_from_set (
add_set_cmd ("remotedebug", no_class, var_zinteger, (char *) &mips_debug,
"Set debugging of remote MIPS serial I/O.\n\
When non-zero, each packet sent or received with the remote target\n\