From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: "Paweł Sikora" <pawel.sikora@agmk.net>
Cc: gdb@sourceware.org
Subject: Re: very slow gdb stepping.
Date: Sat, 31 Mar 2012 21:57:00 -0000 [thread overview]
Message-ID: <20120331215613.GA1439@host2.jankratochvil.net> (raw)
In-Reply-To: <1809128.jWeFzAnxpv@localhost>
On Sat, 31 Mar 2012 15:05:09 +0200, PaweÅ Sikora wrote:
> during debugging a large c++ application an each gdb step (next or step-in)
> takes from ~2 to ~30 seconds which is horribly slow and uncomfortable :(
[...]
> http://carme.pld-linux.org/~pluto/gdb-cpuhog/
The name gdb-7.4.50-0.20120120 it suggests a snapshot with performance
regression later already fixed on trunk by Tom Tromey. This performance
regression was not present in 7.4 and it will not be present in 7.5.
I have fixed this regression by a backport in 7.4.50.20120120-35.fc17,
the 20120120 snapshot date may suggest your GDB is somehow Fedora derived.
http://pkgs.fedoraproject.org/gitweb/?p=gdb.git;a=commitdiff;h=ea0fcb4584cb04c938e32e44ad21a04c6225c5a1
->
FYI: remove extraneous block from dw2_map_symtabs_matching_filename
http://sourceware.org/ml/gdb-patches/2012-02/msg00409.html
FYI: fix some performance bugs with .gdb_index
http://sourceware.org/ml/gdb-patches/2012-02/msg00413.html
Regards,
Jan
next prev parent reply other threads:[~2012-03-31 21:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-31 13:05 Paweł Sikora
2012-03-31 21:57 ` Jan Kratochvil [this message]
2012-03-31 22:01 ` Jan Kratochvil
2012-04-01 9:19 ` Paweł Sikora
2012-04-01 10:44 ` Paweł Sikora
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=20120331215613.GA1439@host2.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb@sourceware.org \
--cc=pawel.sikora@agmk.net \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).