From: Robert Dewar <dewar@adacore.com>
To: jagorak <jagorak@wp.pl>
Cc: gdb@sourceware.org
Subject: Re: Setting a variable is very slow.
Date: Sat, 21 Apr 2007 12:50:00 -0000 [thread overview]
Message-ID: <462A088D.9050409@adacore.com> (raw)
In-Reply-To: <1546343093.20070421134325@wp.pl>
jagorak wrote:
> *More importantly*:
> ===> Is there any way to make the assignments work faster? <===
First step is you should do some profiling work to see if you can
find out what is taking the time in gdb
>
> E.g. by telling gdb to cache the address of a symbol (variable) so
> that everytime the symbol is being set gdb does not have to go through
> the symbol table to obtain the address (in case that would be the
> reason why assignments are very slow).
That's a good idea, would be good to work on this improvement
to gdb. By all means investigate!
next prev parent reply other threads:[~2007-04-21 12:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-21 12:43 jagorak
2007-04-21 12:50 ` Robert Dewar [this message]
2007-04-21 13:41 ` Daniel Jacobowitz
2007-04-30 20:05 ` Re[2]: " jagorak
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=462A088D.9050409@adacore.com \
--to=dewar@adacore.com \
--cc=gdb@sourceware.org \
--cc=jagorak@wp.pl \
/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