From 568947885c4866d83b3a04c39a43ca8d38762db1 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Tue, 15 Jun 1993 19:28:40 +0000 Subject: [PATCH] make rpcTimeout user settable --- gdb/ChangeLog | 5 +++++ gdb/remote-vx.c | 11 ++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e580ff41ba2..468db69677e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Tue Jun 15 12:26:05 1993 K. Richard Pixley (rich@sendai.cygnus.com) + + * remote-vx.c: include gdbcmd.h for setlist. + (_initialize_vx): make rpcTimeout user settable. + Mon Jun 14 09:23:51 1993 Jim Kingdon (kingdon@cygnus.com) * main.c, gdbcmd.h: Add function filename_completer. diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c index 34f1fa2b9df..a9548a9a238 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 #include @@ -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); } -- 2.30.2