From: asm warrior <asmwarrior@gmail.com>
To: Chris Sutcliffe <ir0nh34d@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Slowdown of the response from the command line?
Date: Thu, 04 Mar 2010 14:12:00 -0000 [thread overview]
Message-ID: <9a806f981003040612l47d60c6bu219cfa9da0f9404f@mail.gmail.com> (raw)
In-Reply-To: <2bf229d31003040321w3ed171a6jf3f4369cb2596882@mail.gmail.com>
On Thu, Mar 4, 2010 at 7:21 PM, Chris Sutcliffe <ir0nh34d@gmail.com> wrote:
>
> I'd recommend one of the 7.0.90.xxxx sources:
>
> ftp://sourceware.org/pub/gdb/snapshots/branch/
>
> I've been using them to try and get Python working for MinGW.
Hi, ironhead. Now, I have successfully build the gdb branch
gdb-7.0.90.20100304.tar (it takes nearlly one and half an hour), and
gdb.exe works fine, and there's no crash. thanks very much!!.
I use these build environment( MSYS, tdm-gcc4.4.1-dw2 core and g++
package, others packages like binutilites and wapi were all downloaded
from the Official Mingw sourceforge sites.)
The new build branch 0304 gdb.exe still response slowly when showing a
wxString value in watch window, but if I have not watches, it runs
fast when doing "steps or step in ...".
I use these command to build the gdb, I unzip the gdb source code in
"/c/gdb/gdbbranch20100304/" and run the scrips command in
"/c/gdb/obj/" and the generated file was installed to "/c/gdb/install"
../gdbbranch20100304/configure --prefix=/c/gdb/install --with-expat
--without-included-gettext CFLAGS="-I/c/expat/install/include -static
-L/c/expat/install/lib -O2 -w"
make
make install
>
> 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'.
As you suggested, but I have failed using the -pg option. if I use
these command:
../gdbbranch20100304/configure --prefix=/c/gdb/install --with-expat
--without-included-gettext CFLAGS="-I/c/expat/install/include -static
-L/c/expat/install/lib -O2 -w -g -pg"
make
make install
I failed in the configure step, MSYS shells just hangs when checking
the gcc system. I don't know why...
any comments?
Thanks!!!
next prev parent reply other threads:[~2010-03-04 14:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-26 16:48 asm warrior
2010-02-26 22:12 ` Tom Tromey
2010-03-04 7:24 ` Asm_gmail
2010-03-04 11:21 ` Chris Sutcliffe
2010-03-04 12:01 ` asm warrior
2010-03-04 14:12 ` asm warrior [this message]
2010-03-05 2:13 ` Chris Sutcliffe
2010-03-05 2:45 ` Asm_gmail
2010-03-04 18:43 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9a806f981003040612l47d60c6bu219cfa9da0f9404f@mail.gmail.com \
--to=asmwarrior@gmail.com \
--cc=gdb@sourceware.org \
--cc=ir0nh34d@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox