From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29939 invoked by alias); 30 Nov 2007 14:58:02 -0000 Received: (qmail 29922 invoked by uid 71); 30 Nov 2007 14:58:01 -0000 Date: Fri, 30 Nov 2007 14:58:00 -0000 Message-ID: <20071130145801.29921.qmail@sourceware.org> To: nobody@sources.redhat.com Cc: gdb-prs@sources.redhat.com, From: Daniel Jacobowitz Subject: Re: threads/2371: gdbserver can't step in thread Reply-To: Daniel Jacobowitz Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00136.txt.bz2 The following reply was made to PR threads/2371; it has been noted by GNATS. From: Daniel Jacobowitz To: loic.gautheur@wanadoo.fr Cc: gdb-gnats@sources.redhat.com Subject: Re: threads/2371: gdbserver can't step in thread Date: Fri, 30 Nov 2007 09:52:58 -0500 On Thu, Nov 29, 2007 at 10:16:02AM -0000, loic.gautheur@wanadoo.fr wrote: > Hi, > I have a problem using gdbserver 5.3 for debuging multi-threaded > applications. If I use gdb 5.3 to debug the application everything works. > my problem is when I put a breakpoint in a thread and the thread encounter the breakpoint the application stops, then i try to STEP to the next line and then if I use gdb the application run ,execute other threads and stop on the next line (normal behaviour ) > but when using gdbserver the application receive a SIGTRAP and stop. Please try a current version of gdb and gdbserver. -- Daniel Jacobowitz CodeSourcery