From owner-freebsd-threads@FreeBSD.ORG Fri Oct 21 19:20:53 2011 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC5FD1065670 for ; Fri, 21 Oct 2011 19:20:53 +0000 (UTC) (envelope-from schumjs@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8541C8FC12 for ; Fri, 21 Oct 2011 19:20:53 +0000 (UTC) Received: by eyd10 with SMTP id 10so5592920eyd.13 for ; Fri, 21 Oct 2011 12:20:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=XOYM24OrUQF0781RVI4rMhYNYdYDicMux96gyi7c7IE=; b=P/YmhA6xjpE23NZCnqwXgVE0Lt3eUbnPRIu0QThUTLyGezYZ7UEIcJmHJC08svBQOb GbqkVlqmKB/Jcghq3CSwPdKccp5jxri7f3q/Q+L5xdc9112ERE3v9+XCz62R6g+K5a6j EsahWLoAbcEpQzIDgUm71kAiQ9+l2g2TImN1o= MIME-Version: 1.0 Received: by 10.213.17.77 with SMTP id r13mr1228558eba.117.1319223164833; Fri, 21 Oct 2011 11:52:44 -0700 (PDT) Received: by 10.213.32.206 with HTTP; Fri, 21 Oct 2011 11:52:44 -0700 (PDT) Date: Fri, 21 Oct 2011 13:52:44 -0500 Message-ID: From: John Schumacher To: freebsd-threads@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: GDB Non-Stop Mode: Supported in FreeBSD? X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2011 19:20:54 -0000 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