Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Oct 2011 13:52:44 -0500
From:      John Schumacher <schumjs@gmail.com>
To:        freebsd-threads@freebsd.org
Subject:   GDB Non-Stop Mode: Supported in FreeBSD?
Message-ID:  <CAJoUm=HJAs36DTKihvheFdKLQ_2GsPugN8uKybfs6ZtrhBvx8A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello all,

I was wondering if gdb had support in FreeBSD to suspend one thread and run
the rest. This is one flavor of an option called non-stop mode in gdb, and
can be issued through the following commands:

(gdb) set target-async 1
(gdb) set pagination off
(gdb) set non-stop on
(gdb) file foo
Reading symbols from foo...done.
(gdb) run -d
The target does not support running in non-stop mode.

In this case, the 'target' is FreeBSD. Does this mean that FreeBSD does not
support this? Should I try using a different threading library? I am
currently using the pthreads implementation in "lib_thr".

Thanks!
-- 
John Schumacher



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJoUm=HJAs36DTKihvheFdKLQ_2GsPugN8uKybfs6ZtrhBvx8A>