From: Ian Lance Taylor Date: Wed, 28 Jul 1993 15:28:53 +0000 (+0000) Subject: * remote-mips.c (_initialize_remote_mips): Added "timeout" and X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0907dc09325aff0e201656d2261efb0f73326383;p=binutils-gdb.git * remote-mips.c (_initialize_remote_mips): Added "timeout" and "retransmit-timeout" variables to set mips_receive_wait and mips_retransmit_wait, respectively. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c8b9b3988c1..ed8b848a3e7 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 ead760d2404..3cf3b60deba 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -1322,6 +1322,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\