From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15211 invoked by alias); 9 Mar 2004 20:30:07 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15203 invoked from network); 9 Mar 2004 20:30:06 -0000 Received: from unknown (HELO localhost.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 9 Mar 2004 20:30:06 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 701252B92; Tue, 9 Mar 2004 15:30:05 -0500 (EST) Message-ID: <404E294D.90601@gnu.org> Date: Fri, 19 Mar 2004 00:09:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: jim.houston@comcast.net Cc: gdb-patches@sources.redhat.com Subject: Re: [patch] thread info - automatic skip frames References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00212.txt.bz2 > Hi Everyone, > > I developed this patch to support using kgdb on the > x86-64 linux kernel. > > The patch adds an option to gdb to skip over boring frames > in the "thread info" results. This is useful when most of > the threads are stopped in the context switch code. It lets > you see the frame which shows why the the thread blocked. > > Use: > set skip-frame thread_return,schedule_timeout I think the first thing to do is see this thread: http://sources.redhat.com/ml/gdb/2004-03/msg00019.html through to resolution. At present it isn't clear that the changes are needed. Andrew From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15211 invoked by alias); 9 Mar 2004 20:30:07 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15203 invoked from network); 9 Mar 2004 20:30:06 -0000 Received: from unknown (HELO localhost.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 9 Mar 2004 20:30:06 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 701252B92; Tue, 9 Mar 2004 15:30:05 -0500 (EST) Message-ID: <404E294D.90601@gnu.org> Date: Tue, 09 Mar 2004 20:30:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: jim.houston@comcast.net Cc: gdb-patches@sources.redhat.com Subject: Re: [patch] thread info - automatic skip frames References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03.o/txt/msg00212.txt Message-ID: <20040309203000._oB_uzjuZSxrAvEcceNTYp5V6DS1LTtwiSD60Yj6R08@z> > Hi Everyone, > > I developed this patch to support using kgdb on the > x86-64 linux kernel. > > The patch adds an option to gdb to skip over boring frames > in the "thread info" results. This is useful when most of > the threads are stopped in the context switch code. It lets > you see the frame which shows why the the thread blocked. > > Use: > set skip-frame thread_return,schedule_timeout I think the first thing to do is see this thread: http://sources.redhat.com/ml/gdb/2004-03/msg00019.html through to resolution. At present it isn't clear that the changes are needed. Andrew