summaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-02-27 01:18:39 +0000
committerAndrew Cagney <cagney@redhat.com>2002-02-27 01:18:39 +0000
commitf992b3e05722865e276c14a17ce0021f02c77179 (patch)
tree30e224b95206b16f585427f47e9686e6af496310 /gdb/remote.c
parent6943b1d99f1db1fcbc928d1cb22cb48efd5c38bd (diff)
downloadgdb-f992b3e05722865e276c14a17ce0021f02c77179.tar.gz
* remote.c (_initialize_remote): By default, disable ``e'' and
``E'' step out-of-range packets.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index bb321dc8798..2d70baf9b78 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -6099,6 +6099,10 @@ in a memory packet.\n",
show_remote_protocol_e_packet_cmd,
&remote_set_cmdlist, &remote_show_cmdlist,
0);
+ /* Disable by default. The ``e'' packet has nasty interactions with
+ the threading code - it relies on global state. */
+ remote_protocol_e.detect = CMD_AUTO_BOOLEAN_FALSE;
+ update_packet_config (&remote_protocol_e);
add_packet_config_cmd (&remote_protocol_E,
"E", "step-over-range-w-signal",
@@ -6106,6 +6110,10 @@ in a memory packet.\n",
show_remote_protocol_E_packet_cmd,
&remote_set_cmdlist, &remote_show_cmdlist,
0);
+ /* Disable by default. The ``e'' packet has nasty interactions with
+ the threading code - it relies on global state. */
+ remote_protocol_E.detect = CMD_AUTO_BOOLEAN_FALSE;
+ update_packet_config (&remote_protocol_E);
add_packet_config_cmd (&remote_protocol_P,
"P", "set-register",