From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31505 invoked by alias); 8 Aug 2003 02:21:00 -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 31491 invoked from network); 8 Aug 2003 02:21:00 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.166.107) by sources.redhat.com with SMTP; 8 Aug 2003 02:21:00 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D0A1D2B86; Thu, 7 Aug 2003 22:20:56 -0400 (EDT) Message-ID: <3F330908.8010803@redhat.com> Date: Fri, 08 Aug 2003 02:21:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: Elena Zannoni , gdb@sources.redhat.com Subject: Re: RFC: A mode in which gdb avoids libthread_db References: <20030726155820.GA1063@nevyn.them.org> <16163.4264.817155.564263@localhost.redhat.com> <20030726233201.GA13936@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-08/txt/msg00111.txt.bz2 > On Sat, Jul 26, 2003 at 07:37:12PM -0400, Elena Zannoni wrote: >> I know first hand of the pains of mismatched glibcs, binutils, >> kernels, gdbs. I wouldn't mind having this coexist with the use of >> glibc, is that possible? > > > Sure. It could just be a switch or a "set" flag - easy enough. Yes. In this mode, just restrict libthread_db to, er, visualizing thread data structures such as the thread ID and, hopefully, eventually, semaphore state et.al. >> What ptrace changes did you do? (Elena needs to start reading >> linux-kernel) > > > Take a look at the support for "set follow-fork-mode", which I've > posted a few times. I added: Andrew