diff options
author | Stan Shebs <shebs@codesourcery.com> | 1996-01-12 23:31:13 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1996-01-12 23:31:13 +0000 |
commit | 2c441e7fb74d12ce67993d634d0a6bdf5a964c80 (patch) | |
tree | f3257624ba7d0aa9a9076b14abbb92597a94a0c2 /gdb/remote.c | |
parent | 14899eb7f2e442c1b7f133a805ae9dfa39d3cc1a (diff) | |
download | gdb-2c441e7fb74d12ce67993d634d0a6bdf5a964c80.zip gdb-2c441e7fb74d12ce67993d634d0a6bdf5a964c80.tar.gz gdb-2c441e7fb74d12ce67993d634d0a6bdf5a964c80.tar.bz2 |
From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
* remote.c (remotetimeout): New GDB variable, use to set the
remote timeout for reading.
PR 8791.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index d9183ad..87d8113 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -1812,4 +1812,9 @@ _initialize_remote () { add_target (&remote_ops); add_target (&extended_remote_ops); + + add_show_from_set (add_set_cmd ("remotetimeout", no_class, + var_integer, (char *)&remote_timeout, + "Set timeout value for remote read.\n", &setlist), + &showlist); } |