From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23714 invoked by alias); 5 Dec 2007 13:41:34 -0000 Received: (qmail 23705 invoked by uid 22791); 5 Dec 2007 13:41:33 -0000 X-Spam-Check-By: sourceware.org Received: from ms9.webland.ch (HELO ms9.webland.ch) (194.209.78.139) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 05 Dec 2007 13:41:24 +0000 Received: from indel.ch ([84.73.11.188]) by ms9.webland.ch (Webland.MailServer.v.8.9.6) with ASMTP id KZU39420 for ; Wed, 05 Dec 2007 14:41:20 +0100 Received: from FABI.indel.ch [192.168.1.91] by indel.ch [127.0.0.1] with SMTP (MDaemon.v2.7.SP5.R) for ; Wed, 05 Dec 2007 14:41:16 +0100 Message-Id: <5.2.0.9.1.20071205143651.01d56990@localhost> X-Sender: cenedese@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 [via SMTPAuth 0.9, bisswanger.com] Date: Wed, 05 Dec 2007 13:41:00 -0000 To: gdb@sourceware.org From: Fabian Cenedese Subject: Re: Non-stop multi-threaded debugging In-Reply-To: References: <1196455712.6746.160.camel@localhost.localdomain> <4743178A.3050501@codesourcery.com> <1196455712.6746.160.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MDaemon-Deliver-To: gdb@sourceware.org X-Return-Path: cenedese@indel.ch 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-12/txt/msg00037.txt.bz2 > - Selecting any thread shall cause that thread to stop. Does gdb always have to have a selected thread? I'm wondering how I could watch a global variable while all threads are running. So either gdb can inspect variables without thread or selecting a thread shouldn't stop it. > - When a thread encounters a breakpoint or a fault, GDB shall stop > only that thread. Any other running threads shall continue to > execute. I assume this is for both global and thread breakpoints. Thanks bye Fabi