From: Stan Shebs Date: Fri, 12 Jan 1996 23:31:13 +0000 (+0000) Subject: From Wilfried Moser : X-Git-Tag: gdb-4_18~9674 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c441e7fb74d12ce67993d634d0a6bdf5a964c80;p=external%2Fbinutils.git From Wilfried Moser : * remote.c (remotetimeout): New GDB variable, use to set the remote timeout for reading. PR 8791. --- 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 + + 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 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); }