The following reply was made to PR threads/2371; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@xxxxxxxxx>
To: loic.gautheur@xxxxxxxxxx
Cc: gdb-gnats@xxxxxxxxxxxxxxxxxx
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@xxxxxxxxxx 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
|