From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23862 invoked by alias); 5 Oct 2006 12:59:00 -0000 Received: (qmail 23853 invoked by uid 22791); 5 Oct 2006 12:58:59 -0000 X-Spam-Check-By: sourceware.org Received: from lon-del-04.spheriq.net (HELO lon-del-04.spheriq.net) (195.46.50.101) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 05 Oct 2006 12:58:49 +0000 Received: from lon-out-03.spheriq.net ([195.46.50.131]) by lon-del-04.spheriq.net with ESMTP id k95Cwkga009007 for ; Thu, 5 Oct 2006 12:58:46 GMT Received: from lon-cus-01.spheriq.net (lon-cus-01.spheriq.net [195.46.50.37]) by lon-out-03.spheriq.net with ESMTP id k95Cwi8e032156 for ; Thu, 5 Oct 2006 12:58:45 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by lon-cus-01.spheriq.net with ESMTP id k95CwfDI025844 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 5 Oct 2006 12:58:43 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 34350DA4B; Thu, 5 Oct 2006 12:58:40 +0000 (GMT) Received: from mail1.cro.st.com (mail1.cro.st.com [164.129.40.131]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D988647337; Thu, 5 Oct 2006 12:58:39 +0000 (GMT) Received: from [164.129.44.49] (crx549.cro.st.com [164.129.44.49]) by mail1.cro.st.com (MOS 3.5.8-GR) with ESMTP id CIP63722 (AUTH "frederic riss"); Thu, 5 Oct 2006 14:58:38 +0200 (CEST) Subject: Re: gdb script performance From: Frederic RISS To: Jean-Marc Saffroy Cc: gdb@sourceware.org In-Reply-To: References: Content-Type: text/plain Date: Thu, 05 Oct 2006 12:59:00 -0000 Message-Id: <1160053117.13420.17.camel@crx549.cro.st.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00023.txt.bz2 Hi, On Thu, 2006-10-05 at 14:15 +0200, Jean-Marc Saffroy wrote: > Hello, > > I'm using gdb (6.5) to analyse a Linux kernel kdump (really an ELF core > file), and I find that a simple script is awwwfully slow. Here is an > example: I haven't looked at your gprof results, but your problem is certainly the same as described here: http://sources.redhat.com/ml/gdb/2006-08/msg00099.html This discussion lead to the patch submitted here: http://sources.redhat.com/ml/gdb-patches/2006-09/msg00088.html It hasn't been checked in yet because of missing copyright assignement paperwork. Fred.