diff options
author | Dawn Perchik <dawn@cygnus> | 1996-06-28 12:27:08 +0000 |
---|---|---|
committer | Dawn Perchik <dawn@cygnus> | 1996-06-28 12:27:08 +0000 |
commit | cb1709aeac4e07ce89f6d9a520cdc0fa83847a92 (patch) | |
tree | 837928fdf955e86acdd356d38cacf8d6c38cf85d /gdb/top.c | |
parent | 56a4bf5339506c9273ddd9edcbe8c79857dc1211 (diff) | |
download | gdb-cb1709aeac4e07ce89f6d9a520cdc0fa83847a92.zip gdb-cb1709aeac4e07ce89f6d9a520cdc0fa83847a92.tar.gz gdb-cb1709aeac4e07ce89f6d9a520cdc0fa83847a92.tar.bz2 |
* remote-e7000.c,remote.c,target.h,top.c:
Add set option "remote_timeout" for setting remote_timeout.
Add set option "use_hard_breakpoints" for setting hardware
.vs. memory breakpoints.
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -319,6 +319,10 @@ int server_command; int baud_rate = -1; +/* Timeout limit for response from target. */ + +int remote_timeout = 20; /* Set default to 20 */ + /* Non-zero tells remote* modules to output debugging info. */ int remote_debug = 0; @@ -3589,4 +3593,11 @@ using remote targets.", &setlist), When enabled, each packet sent or received with the remote target\n\ is displayed.", &setlist), &showlist); + + add_show_from_set ( + add_set_cmd ("remotetimeout", no_class, var_integer, (char *)&remote_timeout, + "Set timeout limit to wait for target to respond.\n\ +This value is used to set the time limit for gdb to wait for a response\n\ +from he target.", &setlist), + &showlist); } |