From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16429 invoked by alias); 16 Feb 2012 15:15:12 -0000 Received: (qmail 16400 invoked by uid 22791); 16 Feb 2012 15:15:10 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,SARE_RAND_1 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 16 Feb 2012 15:14:12 +0000 From: "palves at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug cli/13700] should allow CLI to switch thread on event Date: Thu, 16 Feb 2012 15:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: cli X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: palves at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2012-q1/txt/msg00265.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13700 Pedro Alves changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |palves at redhat dot com --- Comment #1 from Pedro Alves 2012-02-16 15:13:17 UTC --- I remembered why I never looked back at this. It is not clear to me we should always do that. Consider: (gdb) next * other random thread stops* [switched to $random_thread] (gdb) foofoo * next finishes later * (gdb) foofoofoofoo I think the user may want to stay focused on the "next" instead of being distracted by the other stop. Switching focus on "continue" only would be my next idea, but, I'm still not sure. The user may "break foo; continue"; and expect the foo breakpoint to hit, instead of being distracted by other threads. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.