From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18569 invoked by alias); 26 Oct 2007 08:17:19 -0000 Received: (qmail 18551 invoked by uid 22791); 26 Oct 2007 08:17:18 -0000 X-Spam-Check-By: sourceware.org Received: from cypher.de.keymile.com (HELO cypher.de.keymile.com) (195.8.104.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 26 Oct 2007 08:17:15 +0000 Received: from mailrelay.de.keymile.net ([10.9.1.54]) by cypher.de.keymile.com (8.13.8/8.12.11) with ESMTP id l9Q86CST029879 for ; Fri, 26 Oct 2007 10:06:12 +0200 Received: from srvdehan1003.de.keymile.net (srvdehan1003.de.keymile.net [10.9.1.108]) by mailrelay.de.keymile.net (8.12.2/8.12.2) with ESMTP id l9Q8FbNj014545 for ; Fri, 26 Oct 2007 10:15:37 +0200 (MEST) Received: from 172.31.37.32 ([172.31.37.32]) by srvdehan1003.de.keymile.net ([10.9.1.108]) with Microsoft Exchange Server HTTP-DAV ; Fri, 26 Oct 2007 08:17:12 +0000 Received: from chber1-10072x.ch.keymile.net by webmail.de.keymile.net; 26 Oct 2007 10:16:33 +0200 Subject: Stopping single thread from multithreaded program? From: Holger Brunck To: gdb@sourceware.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 26 Oct 2007 08:17:00 -0000 Message-Id: <1193386593.3248.8.camel@chber1-10072x.ch.keymile.net> Mime-Version: 1.0 X-Mailer: Evolution 2.8.0 (2.8.0-33.0.1.el5) 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-10/txt/msg00256.txt.bz2 Hi all, I have one question about the functionality of the gdb. Is it possible to break in a single thread of a multithreaded program, while the other threads proceed with their execution? I want to single step one thread, while the other threads are still running. At this time I am only capable to stop the whole process with all threads. I am using linux with the pthread library on a PPC target. Thanks in advance. Kind regards Holger Brunck