From 0907dc09325aff0e201656d2261efb0f73326383 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 28 Jul 1993 15:28:53 +0000 Subject: [PATCH] * remote-mips.c (_initialize_remote_mips): Added "timeout" and "retransmit-timeout" variables to set mips_receive_wait and mips_retransmit_wait, respectively. --- gdb/ChangeLog | 6 ++++++ gdb/remote-mips.c | 15 +++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c8b9b3988c..ed8b848a3e 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 ead760d240..3cf3b60deb 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\ -- 2.34.1