diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-07-28 15:28:53 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-07-28 15:28:53 +0000 |
commit | 0907dc09325aff0e201656d2261efb0f73326383 (patch) | |
tree | 97bf3c8814d942c0c93b52ad2474b38d7afaa3e1 /gdb | |
parent | ffff16b39c68e8af3812324ccbb733e9cbab8df2 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/remote-mips.c | 15 |
2 files changed, 21 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c8b9b39..ed8b848 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Wed Jul 28 08:26:58 1993 Ian Lance Taylor (ian@cygnus.com) + + * remote-mips.c (_initialize_remote_mips): Added "timeout" and + "retransmit-timeout" variables to set mips_receive_wait and + mips_retransmit_wait, respectively. + Wed Jul 28 03:58:58 1993 (pes@regent.e-technik.tu-muenchen.de) * symmisc.c (dump_msymbols): Handle new mst_file_* types. 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\ |