From: Tim Sander <tim@krieglstein.org>
To: gdb@sourceware.org
Subject: gdb single stepping takes ages
Date: Wed, 18 Jun 2014 07:24:00 -0000 [thread overview]
Message-ID: <11141246.9lllTVUqLL@dabox> (raw)
Hi
I am currently using openocd as a gdbserver backend for debugging an embedded
target with gdb 7.7. When i want to step over a single line with -exec-next:
for(int a=0; a<1000000;a++){ };
the time taken for the step is linear to the maximum count number and takes in
my setup about 1 second for one increment of a. Setting a temp breakpoint in
the next line and continuing works much faster.
So is there a way improve the stepping speed in such situations?
Best regards
Tim
next reply other threads:[~2014-06-18 7:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-18 7:24 Tim Sander [this message]
2014-06-18 8:14 ` Tim Sander
2014-06-18 8:49 ` Agovic, Sanimir
2014-06-18 9:28 ` Yao Qi
2014-06-18 8:21 ` Mark Kettenis
2014-06-18 8:24 ` Luis Machado
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=11141246.9lllTVUqLL@dabox \
--to=tim@krieglstein.org \
--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