From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31303 invoked by alias); 4 Mar 2010 07:24:54 -0000 Received: (qmail 31291 invoked by uid 22791); 4 Mar 2010 07:24:53 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail-yw0-f172.google.com (HELO mail-yw0-f172.google.com) (209.85.211.172) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 04 Mar 2010 07:24:49 +0000 Received: by ywh2 with SMTP id 2so950133ywh.24 for ; Wed, 03 Mar 2010 23:24:47 -0800 (PST) Received: by 10.100.245.27 with SMTP id s27mr4644033anh.162.1267687487557; Wed, 03 Mar 2010 23:24:47 -0800 (PST) Received: from [172.16.150.7] ([61.164.42.188]) by mx.google.com with ESMTPS id 7sm118816ywf.40.2010.03.03.23.24.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Mar 2010 23:24:47 -0800 (PST) Message-ID: <4B8F5FC0.4010103@gmail.com> Date: Thu, 04 Mar 2010 07:24:00 -0000 From: Asm_gmail User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: tromey@redhat.com CC: gdb@sourceware.org Subject: Re: Slowdown of the response from the command line? References: <9a806f981002251623w62282343i4553def7df4404ab@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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-03/txt/msg00024.txt.bz2 On 2010-2-27 1:30, Tom Tromey wrote: > 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 > Hi, Tom, thanks for your reply. For me, I only work under Windows till now, so I don't know how to debug or profile gdb under Windows. Today, I have download the latest snapshot of gdb from: ftp://sourceware.org/pub/gdb/snapshots/current/gdb-7.1.50.20100304.tar.bz2 And I build gdb.exe(I use TDM GCC 4.4.1 mingw32 on windowsXP) with expat enabled. Too bad, I even can't start debugging, when I start debugging, I always get the gdb.exe crashed. If I can remember, the gdb.exe built from snapshot of 20100302, 20100301 always get crashed on startup either. just like Chris Sutcliffe's post in http://sourceware.org/ml/gdb/2010-01/msg00189.html and http://sourceware.org/ml/gdb/2010-01/msg00190.html, he has encountered the same problem as me in both mingw64 and mingw32. I would prefer some gdb gurus can help. Thanks. Asmwarrior