From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23856 invoked by alias); 7 Jan 2007 23:30:12 -0000 Received: (qmail 23846 invoked by uid 22791); 7 Jan 2007 23:30:11 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sun, 07 Jan 2007 23:30:06 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1H3hSk-0007Qz-1n; Sun, 07 Jan 2007 18:30:02 -0500 Date: Sun, 07 Jan 2007 23:30:00 -0000 From: Daniel Jacobowitz To: Yaki Tebeka Cc: Jim Blandy , gdb@sourceware.org Subject: Re: Resuming a single suspended thread on Linux Message-ID: <20070107233002.GA28520@nevyn.them.org> Mail-Followup-To: Yaki Tebeka , Jim Blandy , gdb@sourceware.org References: <9560bc3b0701061449s6d240616o788d93f472a578b8@mail.gmail.com> <9560bc3b0701070900q515a8c5cu1f539506d4018c06@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9560bc3b0701070900q515a8c5cu1f539506d4018c06@mail.gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) 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: 2007-01/txt/msg00112.txt.bz2 On Sun, Jan 07, 2007 at 07:00:26PM +0200, Yaki Tebeka wrote: > Hi Jim > > Thanks for the suggested solution. > > I read the "set scheduler-locking" feature documentation few times > (http://sourceware.org/gdb/current/onlinedocs/gdb_6.html#IDX281) and I > must admit that I am not quite sure that I understand it correctly... > > One of it sentences says that the other threads are "completely free > to run when you use commands like `continue', `until', or `finish'". > If I understand this correctly, it will not help in my case. > > Please let me know if I didn't understand this mechanism correctly. That sentence only describes the behavior when you set it to "step". If you set it to "on", you can run just a single thread. -- Daniel Jacobowitz CodeSourcery