* remote.c (_initialize_remote): By default, disable ``e'' and
authorAndrew Cagney <cagney@redhat.com>
Wed, 27 Feb 2002 01:18:39 +0000 (01:18 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 27 Feb 2002 01:18:39 +0000 (01:18 +0000)
``E'' step out-of-range packets.

gdb/ChangeLog
gdb/remote.c

index a48f90df8e474bc8c377182965fcdce59788cbbd..4dc3e5be4696497bdfa11463e06e2011acab14c9 100644 (file)
@@ -1,3 +1,8 @@
+2002-02-26  Andrew Cagney  <ac131313@redhat.com>
+
+       * remote.c (_initialize_remote): By default, disable ``e'' and
+       ``E'' step out-of-range packets.
+
 2002-02-26  Andreas Schwab  <schwab@suse.de>
 
        * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as
index bb321dc8798985e652b0c4bb49ea01593667529d..2d70baf9b78500f9393102b3b05853e7bf45642c 100644 (file)
@@ -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",