From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10850 invoked by alias); 25 Aug 2017 22:55:54 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 10840 invoked by uid 89); 25 Aug 2017 22:55:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:470 X-HELO: smtp.polymtl.ca Received: from smtp.polymtl.ca (HELO smtp.polymtl.ca) (132.207.4.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 25 Aug 2017 22:55:52 +0000 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id v7PMtjq0030156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 25 Aug 2017 18:55:50 -0400 Received: by simark.ca (Postfix, from userid 112) id 106DC1E5E1; Fri, 25 Aug 2017 18:49:43 -0400 (EDT) Received: from simark.ca (localhost [127.0.0.1]) by simark.ca (Postfix) with ESMTP id D13411E5E1; Fri, 25 Aug 2017 18:49:40 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 25 Aug 2017 22:55:00 -0000 From: Simon Marchi To: Yao Qi Cc: Pedro Alves , Lionel Flandrin , Simon Marchi , gdb-patches@sourceware.org Subject: Re: Check for truncated registers in process_g_packet In-Reply-To: <99a028d3486fedc258429c8c22e4777c@polymtl.ca> References: <20161018111023.4hzeyfzzpaneyfds@localhost.localdomain> <33a1f569-995b-342a-dbb9-ea14ab377d1a@ericsson.com> <20161018160657.rdvxgcam3uibsgst@localhost.localdomain> <6f2568ee-7677-63e8-2d51-65ac531b3a84@redhat.com> <99a028d3486fedc258429c8c22e4777c@polymtl.ca> Message-ID: X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.3.0 X-Poly-FromMTA: (simark.ca [158.69.221.121]) at Fri, 25 Aug 2017 22:55:45 +0000 X-IsSubscribed: yes X-SW-Source: 2017-08/txt/msg00493.txt.bz2 On 2017-08-25 23:04, Simon Marchi wrote: > If I move the line mentioned above just after the follow_exec call, > gdb interprets the g reply with the right/new gdbarch, so the test > case works. I don't know if it breaks anything else, but so far I > didn't find anything before that point that relied on stop_pc. I sent > that change to the buildbot to check. Hmm, this causes gdb.base/foll-exec-mode.exp to fail.