From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26964 invoked by alias); 25 Feb 2002 00:34:18 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 26857 invoked from network); 25 Feb 2002 00:34:11 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.135.44) by sources.redhat.com with SMTP; 25 Feb 2002 00:34:11 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id C6DB63D5A for ; Sun, 24 Feb 2002 19:34:07 -0500 (EST) Message-ID: <3C79867F.3000906@cygnus.com> Date: Sun, 24 Feb 2002 16:34:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.8) Gecko/20020210 X-Accept-Language: en-us MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [patch/rfc] Disable [eE] packets by default Content-Type: multipart/mixed; boundary="------------070209020708010203020702" X-SW-Source: 2002-02/txt/msg00689.txt.bz2 This is a multi-part message in MIME format. --------------070209020708010203020702 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 345 Hello, This is a followup to the current discussion regarding the [Ee] packets. It disables them by default. While it is a brutal solution to a problem, it is also 6 days before 5.2 branches. It also clears the slate for another attempt at this. Thoughts? Andrew PS: There is no doco patch. This packet was never documented. Sigh :-( --------------070209020708010203020702 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1251 2002-02-24 Andrew Cagney * remote.c (_initialize_remote): By default, disable ``e'' and ``E'' step out-of-range packets. Index: remote.c =================================================================== RCS file: /cvs/src/src/gdb/remote.c,v retrieving revision 1.76 diff -u -r1.76 remote.c --- remote.c 2002/02/10 04:08:42 1.76 +++ remote.c 2002/02/25 00:19:23 @@ -6099,6 +6099,10 @@ 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 @@ 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", --------------070209020708010203020702--