From: Chris Sutcliffe <ir0nh34d@gmail.com>
To: gdb@sourceware.org
Subject: Re: Slowdown of the response from the command line?
Date: Fri, 05 Mar 2010 02:13:00 -0000 [thread overview]
Message-ID: <2bf229d31003041813q38eb11fcw73b0abccb2d902f2@mail.gmail.com> (raw)
In-Reply-To: <9a806f981003040612l47d60c6bu219cfa9da0f9404f@mail.gmail.com>
Hi Asmwarrior,
>> 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?
I'll take a look at producing a profiling gdb this weekend and I'll
let you know how I make out.
Cheers!
Chris
--
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d
next prev parent reply other threads:[~2010-03-05 2:13 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
2010-03-05 2:13 ` Chris Sutcliffe [this message]
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=2bf229d31003041813q38eb11fcw73b0abccb2d902f2@mail.gmail.com \
--to=ir0nh34d@gmail.com \
--cc=gdb@sourceware.org \
/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