From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14087 invoked by alias); 6 Jan 2007 22:49:57 -0000 Received: (qmail 14078 invoked by uid 22791); 6 Jan 2007 22:49:57 -0000 X-Spam-Check-By: sourceware.org Received: from nf-out-0910.google.com (HELO nf-out-0910.google.com) (64.233.182.187) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 06 Jan 2007 22:49:53 +0000 Received: by nf-out-0910.google.com with SMTP id k27so2636414nfc for ; Sat, 06 Jan 2007 14:49:50 -0800 (PST) Received: by 10.82.111.8 with SMTP id j8mr2400794buc.1168123790647; Sat, 06 Jan 2007 14:49:50 -0800 (PST) Received: by 10.82.168.9 with HTTP; Sat, 6 Jan 2007 14:49:50 -0800 (PST) Message-ID: <9560bc3b0701061449s6d240616o788d93f472a578b8@mail.gmail.com> Date: Sat, 06 Jan 2007 22:49:00 -0000 From: "Yaki Tebeka" To: gdb@sourceware.org Subject: Resuming a single suspended thread on Linux MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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/msg00109.txt.bz2 Hi All I am implementing a special purpose debugger using gdb. When a program is being debugged, I load into it a special library that runs a thread (inside the debugged process) that reports data to the debugger using a socket communication. This approach works well on Windows (with another debugger engine), but when I try to implement it using gdb on Linux, I realize that whenever the debugged application execution is suspended (breakpoint / etc), my data reporting thread, that runs inside the debugged process, is also suspended. I tried "thread apply X continue", but it seems to continue the entire process (which, as far as I understand, is the right behavior on Linux). Does anyone have an idea for a solution to my problem. Thanks Yaki Tebeka