From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27737 invoked by alias); 24 Oct 2014 19:02:10 -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 27721 invoked by uid 89); 24 Oct 2014 19:02:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 24 Oct 2014 19:02:09 +0000 Received: from svr-orw-fem-02x.mgc.mentorg.com ([147.34.96.206] helo=SVR-ORW-FEM-02.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1Xhk7h-000179-Jk from Sandra_Loosemore@mentor.com ; Fri, 24 Oct 2014 12:02:05 -0700 Received: from [IPv6:::1] (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.3.181.6; Fri, 24 Oct 2014 12:02:05 -0700 Message-ID: <544AA205.7020005@codesourcery.com> Date: Fri, 24 Oct 2014 19:02:00 -0000 From: Sandra Loosemore User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Pedro Alves CC: Subject: Re: Cannot execute this command without a live selected thread. References: <544A7648.6060102@codesourcery.com> <544A7930.4040909@redhat.com> <544A8741.9090705@codesourcery.com> <544A8B0C.5000509@redhat.com> <544A8F15.9000906@redhat.com> In-Reply-To: <544A8F15.9000906@redhat.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2014-10/txt/msg00669.txt.bz2 On 10/24/2014 11:40 AM, Pedro Alves wrote: > On 10/24/2014 06:23 PM, Pedro Alves wrote: >> >> We may be able add a workaround for this. :-/ Just in case, >> can you confirm that the current thread's ptid (inferior_ptid) >> is magic_null_ptid? > > Please give this a try. The patch works fine for hand-testing of a hello world program (can load and run it and stop at breakpoint on main, at least). I've kicked off a full set of tests. -Sandra