diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-02-27 01:18:39 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-02-27 01:18:39 +0000 |
commit | 0f017ab98fb70697cbb2b1d58b35932456fd9489 (patch) | |
tree | d75f15865fcc889ae85ed47d4cf421e64bd5087c | |
parent | 5f9870dff606811ca2d239e8183b04772e831335 (diff) | |
download | fsf-binutils-gdb-0f017ab98fb70697cbb2b1d58b35932456fd9489.zip fsf-binutils-gdb-0f017ab98fb70697cbb2b1d58b35932456fd9489.tar.gz fsf-binutils-gdb-0f017ab98fb70697cbb2b1d58b35932456fd9489.tar.bz2 |
* remote.c (_initialize_remote): By default, disable ``e'' and
``E'' step out-of-range packets.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/remote.c | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a48f90d..4dc3e5b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/remote.c b/gdb/remote.c index bb321dc..2d70baf 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", |