This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[ping] [patch/testsuite/gdbserver] unsuspend lwps after step over
- From: Yao Qi <yao at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Sat, 25 Feb 2012 20:17:51 +0800
- Subject: [ping] [patch/testsuite/gdbserver] unsuspend lwps after step over
- References: <4F3DBB7F.6060501@codesourcery.com>
On 02/17/2012 10:29 AM, Yao Qi wrote:
> Hi,
> The test cases (gdb.trace/trace-break-mt.exp) in this patch is to
> reproduce the assertion failure below,
>
> continue^M
> Continuing.^M
> Remote connection closed^M
> (gdb) FAIL: gdb.trace/trace-break-mt.exp: 1 trace on: continue to
> set_point1 2
> ../../../gdb/gdb/gdbserver/linux-low.c:2801: A problem internal to
> GDBserver has been detected.^M
> stuck_in_jump_pad_callback: Assertion `lwp->suspended == 0' failed.^M
>
> trace-break-mt.exp is a "multi-threaded" version of trace-break.exp.
>
> This patch just decrements `suspended' flag before calling
> stabilize_threads below. This part of code in gdbserver is quite new to
> me, and comments are welcome.
>
> Tested on x86_64-unknown-linux/native-gdbserver.
>
Ping?
http://sourceware.org/ml/gdb-patches/2012-02/msg00343.html
--
Yao (éå)