aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1996-01-12 23:31:13 +0000
committerStan Shebs <shebs@codesourcery.com>1996-01-12 23:31:13 +0000
commit2c441e7fb74d12ce67993d634d0a6bdf5a964c80 (patch)
treef3257624ba7d0aa9a9076b14abbb92597a94a0c2
parent14899eb7f2e442c1b7f133a805ae9dfa39d3cc1a (diff)
downloadgdb-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.
-rw-r--r--gdb/ChangeLog11
-rw-r--r--gdb/remote.c5
2 files changed, 14 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1c4ebdf..4f2c236 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,9 +1,15 @@
+Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com>
+
+ From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
+ * remote.c (remotetimeout): New GDB variable, use to set the
+ remote timeout for reading.
+
Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cirdan.cygnus.com>
* lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
to get "struct core_fns" defined.
* Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
- Are dependant upon gdbcore_h.
+ Are dependent upon gdbcore_h.
Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com>
@@ -141,7 +147,8 @@ Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com)
Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
- * ch-exp.c (parse_primval): in case ARRAY: Add missing FORWARD_TOKEN ().
+ * ch-exp.c (parse_primval): In case ARRAY, add missing
+ FORWARD_TOKEN ().
Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com>
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);
}