From 2c441e7fb74d12ce67993d634d0a6bdf5a964c80 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Fri, 12 Jan 1996 23:31:13 +0000 Subject: [PATCH] From Wilfried Moser : * remote.c (remotetimeout): New GDB variable, use to set the remote timeout for reading. PR 8791. --- gdb/ChangeLog | 11 +++++++++-- gdb/remote.c | 5 +++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1c4ebdf106c..4f2c2369567 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,9 +1,15 @@ +Fri Jan 12 13:11:42 1996 Stan Shebs + + From Wilfried Moser : + * remote.c (remotetimeout): New GDB variable, use to set the + remote timeout for reading. + Fri Jan 12 07:14:27 1996 Fred Fish * 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 @@ -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) - * 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 diff --git a/gdb/remote.c b/gdb/remote.c index d9183add598..87d81138f34 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); } -- 2.30.2