From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8692 invoked by alias); 4 Mar 2010 12:01:18 -0000 Received: (qmail 8606 invoked by uid 22791); 4 Mar 2010 12:01:17 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40 X-Spam-Check-By: sourceware.org Received: from mail-yx0-f185.google.com (HELO mail-yx0-f185.google.com) (209.85.210.185) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 04 Mar 2010 12:01:11 +0000 Received: by yxe15 with SMTP id 15so1244186yxe.25 for ; Thu, 04 Mar 2010 04:01:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.47.4 with SMTP id u4mr2279554ybu.234.1267704069736; Thu, 04 Mar 2010 04:01:09 -0800 (PST) In-Reply-To: <2bf229d31003040321w3ed171a6jf3f4369cb2596882@mail.gmail.com> References: <9a806f981002251623w62282343i4553def7df4404ab@mail.gmail.com> <4B8F5FC0.4010103@gmail.com> <2bf229d31003040321w3ed171a6jf3f4369cb2596882@mail.gmail.com> Date: Thu, 04 Mar 2010 12:01:00 -0000 Message-ID: <9a806f981003040401q433a62d1uad27849febd6d26a@mail.gmail.com> Subject: Re: Slowdown of the response from the command line? From: asm warrior To: Chris Sutcliffe Cc: gdb@sourceware.org Content-Type: text/plain; charset=UTF-8 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/msg00028.txt.bz2 On Thu, Mar 4, 2010 at 7:21 PM, Chris Sutcliffe wrote: > Hi Asmwarrior, > >> 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. > > I'd recommend one of the 7.0.90.xxxx sources: Thanks, ironhead, I will try it right now. > > ftp://sourceware.org/pub/gdb/snapshots/branch/ > > I've been using them to try and get Python working for MinGW. so, the latest branch you built works? that's a great news. > >> If I can remember, the gdb.exe built from snapshot of 20100302, 20100301 >> always get crashed on startup either. > > What do you see when gdb crashes? > When the gdb crashed, these is a Messagebox, and saying some error. sorry I can't remember all because I've done that in my lab (I will report it tomorrow when I return to my office), but now I'm at home. So, now, I will download a 7.0.90 branch and build it again and test it. >> I would prefer some gdb gurus can help. Thanks. > > I'm no guru by any means, but in order to create a profiling gdb one > way is to specify CFLAGS at configuration time: > > $ CFLAGS="-pg" ../configure .... > > Once you have a gdb binary with profiling enabled, it should produce a > profile file (a.out if memory serves), which you can then view using > 'gprof a.out'. > > Cheers! > > Chris > > -- > Chris Sutcliffe > http://emergedesktop.org > http://www.google.com/profiles/ir0nh34d >