aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorDawn Perchik <dawn@cygnus>1996-06-28 12:27:08 +0000
committerDawn Perchik <dawn@cygnus>1996-06-28 12:27:08 +0000
commitcb1709aeac4e07ce89f6d9a520cdc0fa83847a92 (patch)
tree837928fdf955e86acdd356d38cacf8d6c38cf85d /gdb/remote.c
parent56a4bf5339506c9273ddd9edcbe8c79857dc1211 (diff)
downloadgdb-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/remote.c')
-rw-r--r--gdb/remote.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 25c8734..1f3b279 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -188,7 +188,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "gdbcmd.h"
#include "objfiles.h"
#include "gdb-stabs.h"
-#include "thread.h"
+#include "gdbthread.h"
#include "dcache.h"
@@ -274,7 +274,9 @@ extern struct target_ops extended_remote_ops; /* Forward decl */
other form of hairy serial connection, I would think 2 seconds would
be plenty. */
-static int remote_timeout = 2;
+/* Changed to allow option to set timeout value.
+ was static int remote_timeout = 2; */
+extern int remote_timeout;
/* This variable chooses whether to send a ^C or a break when the user
requests program interruption. Although ^C is usually what remote