From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12773 invoked by alias); 26 Feb 2010 17:31:41 -0000 Received: (qmail 12707 invoked by uid 22791); 26 Feb 2010 17:31:40 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 26 Feb 2010 17:30:54 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o1QHUoXC011981 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 26 Feb 2010 12:30:51 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o1QHUnEp005131; Fri, 26 Feb 2010 12:30:49 -0500 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o1QHUmac008058; Fri, 26 Feb 2010 12:30:48 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id F2F7A37998C; Fri, 26 Feb 2010 10:30:47 -0700 (MST) From: Tom Tromey To: asm warrior Cc: gdb@sourceware.org Subject: Re: Slowdown of the response from the command line? References: <9a806f981002251623w62282343i4553def7df4404ab@mail.gmail.com> Reply-To: tromey@redhat.com Date: Fri, 26 Feb 2010 22:12:00 -0000 In-Reply-To: <9a806f981002251623w62282343i4553def7df4404ab@mail.gmail.com> (asm warrior's message of "Fri, 26 Feb 2010 08:23:04 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-02/txt/msg00180.txt.bz2 >>>>> ">" == asm warrior writes: >> When I try to view the wxString value in a DLL, I entered this command to GDB >> output /c m_Str.m_pchData[0]@((wxStringData*)m_Str.m_pchData - 1)->nDataLength >> Also, I have create a bug report here : >> http://sourceware.org/bugzilla/show_bug.cgi?id=11316 >> Does anyone experience this time delay? Thanks I haven't noticed it, but I think the best way to find it is to profile. I think you can build a -pg gdb and use maint set profile to profile a single command, though I have not tried this in a long time. Tom