From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24328 invoked by alias); 30 Mar 2011 00:03:43 -0000 Received: (qmail 24320 invoked by uid 22791); 30 Mar 2011 00:03:42 -0000 X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from anchor-post-1.mail.demon.net (HELO anchor-post-1.mail.demon.net) (195.173.77.132) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 Mar 2011 00:03:36 +0000 Received: from [80.177.246.162] (helo=hestia.halldom.com) by anchor-post-1.mail.demon.net with esmtp (Exim 4.69) id 1Q4iso-00053D-ia for gdb@sourceware.org; Wed, 30 Mar 2011 00:03:35 +0000 Received: from hyperion.halldom.com ([80.177.246.170] helo=HYPERION) by hestia.halldom.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71) (envelope-from ) id 1Q4isn-0000VE-Pi for gdb@sourceware.org; Wed, 30 Mar 2011 01:03:33 +0100 From: To: References: In-Reply-To: Subject: RE: How to switch threads in gdb while a thread is being blocked Date: Wed, 30 Mar 2011 00:03:00 -0000 Message-ID: <02ff01cbee6d$e9116b70$bb344250$@highwayman.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00189.txt.bz2 Tom Tromey wrote (on Tue 29-Mar-2011 at 16:05): .... > >>>>> "Alexandru" == Alexandru Sutii writes: > > Alexandru> Is there a way to switch threads in gdb after the current > Alexandru> thread/process blocks? > > You want target-async. See the "Background Execution" node in the > manual; there are corresponding MI commands (and docs) too. You may > also want non-stop. Though my experience with non-stop is that it crashes and burns when you single step through the end of some functions :-( Chris