diff options
author | K. Richard Pixley <rich@cygnus> | 1993-06-15 19:28:40 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1993-06-15 19:28:40 +0000 |
commit | 568947885c4866d83b3a04c39a43ca8d38762db1 (patch) | |
tree | da90337993dfa47b47de7229a0c9e5f1725f40c6 /gdb/remote-vx.c | |
parent | 8bd4e54bc326f62e0b46c5202f5b7c2fd9ddc735 (diff) | |
download | gdb-568947885c4866d83b3a04c39a43ca8d38762db1.zip gdb-568947885c4866d83b3a04c39a43ca8d38762db1.tar.gz gdb-568947885c4866d83b3a04c39a43ca8d38762db1.tar.bz2 |
make rpcTimeout user settable
Diffstat (limited to 'gdb/remote-vx.c')
-rw-r--r-- | gdb/remote-vx.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c index 34f1fa2..a9548a9 100644 --- a/gdb/remote-vx.c +++ b/gdb/remote-vx.c @@ -27,6 +27,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "command.h" #include "symtab.h" #include "complaints.h" +#include "gdbcmd.h" #include <string.h> #include <errno.h> @@ -1309,6 +1310,14 @@ struct target_ops vx_run_ops = { void _initialize_vx () { - add_target (&vx_ops); + + add_show_from_set + (add_set_cmd ("rpcTimeout", class_support, var_uinteger, + (char *) &rpcTimeout.tv_sec, + "Set seconds to wait for rpc calls to return.\n\ +Set the number of seconds to wait for rpc calls to return.", &setlist), + &showlist); + + add_target (&vx_ops); add_target (&vx_run_ops); } |