* remote-mips.c (_initialize_remote_mips): Added "timeout" and
authorIan Lance Taylor <ian@airs.com>
Wed, 28 Jul 1993 15:28:53 +0000 (15:28 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 28 Jul 1993 15:28:53 +0000 (15:28 +0000)
"retransmit-timeout" variables to set mips_receive_wait and
mips_retransmit_wait, respectively.

gdb/ChangeLog
gdb/remote-mips.c

index c8b9b3988c14ba56b3ffe5778291868566f04913..ed8b848a3e73e97a5da50761fa213b9ad03c8b61 100644 (file)
@@ -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.
index ead760d24047bf2a488089c20648fbe39f6eacdc..3cf3b60debad4503ee2dcc6347177e94ae77f609 100644 (file)
@@ -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\