From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25330 invoked by alias); 18 Apr 2006 16:11:37 -0000 Received: (qmail 25321 invoked by uid 22791); 18 Apr 2006 16:11:36 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 18 Apr 2006 16:11:33 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FVsnK-0001R6-1e for gdb@sources.redhat.com; Tue, 18 Apr 2006 18:11:14 +0200 Received: from zigzag.lvk.cs.msu.su ([158.250.17.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Apr 2006 18:11:14 +0200 Received: from ghost by zigzag.lvk.cs.msu.su with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Apr 2006 18:11:14 +0200 To: gdb@sources.redhat.com From: Vladimir Prus Subject: MI: performance of getting stack arguments Date: Tue, 18 Apr 2006 16:40:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.8.2 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-04/txt/msg00248.txt.bz2 Hi, I've run into a performance problem with "-stack-list-arguments 1" command. I issue the command in order to obtain stack arguments for all frames, and I've 129 frames. Each frame has just a couple of arguments. However, the command execution takes 608 ms. If this command is issued repeatedly, the time is roughly the same. 1. Any ideas why the command takes so long? 2. Any ideas what should I do to to avoid making user wait half-a-second on each "step"? I can try to reload stack only when current frame id changes. But then, each time I enter a new function, there's still that half-a-second delay. Incidentally, it seems that Eclipse does no show arguments in stack view at all, but that does not seem the right solution. - Volodya