From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11794 invoked by alias); 22 Mar 2002 15:18:17 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 11753 invoked from network); 22 Mar 2002 15:18:09 -0000 Received: from unknown (HELO hera.cwi.nl) (192.16.191.8) by sources.redhat.com with SMTP; 22 Mar 2002 15:18:09 -0000 Received: from bumpa.sen.cwi.nl (bumpa.sen.cwi.nl [192.16.201.191]) by hera.cwi.nl with ESMTP id QAA07698 for ; Fri, 22 Mar 2002 16:18:08 +0100 (MET) Received: from bumpa.sen.cwi.nl (ever@localhost) by bumpa.sen.cwi.nl (8.11.6/8.9.3) with ESMTP id g2MFI8X07562 for ; Fri, 22 Mar 2002 16:18:08 +0100 Message-Id: <200203221518.g2MFI8X07562@bumpa.sen.cwi.nl> X-Authentication-Warning: bumpa.sen.cwi.nl: ever owned process doing -bs X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: gdb@sources.redhat.com Subject: gdb Reply-To: Kees.Everaars@cwi.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 22 Mar 2002 07:18:00 -0000 From: Kees Everaars X-SW-Source: 2002-03/txt/msg00193.txt.bz2 Hi Eveybody I have been trying to debug a C program that is running multiple threads. This has given me a lot of headache. What I want is that I want to step through a single thread while the other threads do not get a chance to run while I am stepping in that single thread (i.e. I want "locked stepping"). In the gdb manual I read that it is possible for some Operating systems to set the so called "scheduler-locking mode". I have set it on. The answer of my machine (linux version 2.4.3-12 of Redhat). "Target 'None' cannot support this command". Now my questions. 1) Can I configure the installation of Linux in such a way that my machine support the above command? 2) If not, is there in a near future a new version of Redhat Linux distribution that supports "locked stepping"? 3) Is there a other debugger under Linux that offers "locked stepping"? 4) Does the Debian linux distribution offers the "locked stepping". 5) On which Operating systems does "locked stepping" work? Thanks in advance. Kees Everaars