From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15006 invoked by alias); 24 Oct 2014 16:07:19 -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 14929 invoked by uid 89); 24 Oct 2014 16:07:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 24 Oct 2014 16:07:18 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9OG7FCg000417 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 24 Oct 2014 12:07:15 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9OG7DZa017955; Fri, 24 Oct 2014 12:07:14 -0400 Message-ID: <544A7930.4040909@redhat.com> Date: Fri, 24 Oct 2014 16:07:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Sandra Loosemore , gdb-patches@sourceware.org Subject: Re: Cannot execute this command without a live selected thread. References: <544A7648.6060102@codesourcery.com> In-Reply-To: <544A7648.6060102@codesourcery.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2014-10/txt/msg00654.txt.bz2 On 10/24/2014 04:54 PM, Sandra Loosemore wrote: > Yesterday I refreshed my build tree for testing some further nios2 > patches, and started seeing a whole lot of this in my test results: > > (gdb) target remote qa8-centos32-cs:10514 > Remote debugging using qa8-centos32-cs:10514 > (gdb) set remote hardware-watchpoint-limit 1 > (gdb) set mem inaccessible-by-default on This made me suspect of 0fec99e8be72b091618862eafc14e2741f0ff0d5, though I'm not seeing how that'd end up in the error in question. > (gdb) load > Loading section .text, size 0x844 lma 0x10000000 > Loading section .eh_frame, size 0x4 lma 0x10000844 > Loading section .rodata, size 0x120 lma 0x10000848 > Loading section .data, size 0x428 lma 0x10000968 > Start address 0x10000040, load size 3472 > Transfer rate: 41 KB/sec, 868 bytes/write. > (gdb) continue > Continuing. > Cannot execute this command without a live selected thread. > (gdb) ERROR: couldn't run to breakpoint > Odd. A backtrace at (break at "error") and "set debug infrun/remote" logs would probably be revealing. > I think the checkout I used for testing the last nios2 patch I submitted > was a couple weeks old. Pedro, I see you checked in a batch of > thread-related changes on Oct 15; do you have any clue what's going > wrong here? I can investigate further if it's not obvious, or somebody > is not already working on this.... Yeah, I pushed in the whole software single-step rework that day. Might well be related, given this target uses software single-step. But it's indeed not obvious and it's the first I hear about it. Thanks, Pedro Alves