From: dje@google.com (Doug Evans)
To: eliz@gnu.org, gdb-patches@sourceware.org
Subject: [RFA] Addition to docs, non-stop mode vs remote caching
Date: Tue, 01 Sep 2009 02:32:00 -0000 [thread overview]
Message-ID: <20090901023206.C5DDD843B8@localhost> (raw)
[resend, typo in address]
Hi.
Ok to check in?
2009-08-31 Doug Evans <dje@google.com>
* gdb.texinfo (Caching Data of Remote Targets): Add note on
non-stop mode's affect on remote caching.
Index: doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.619
diff -u -p -r1.619 gdb.texinfo
--- doc/gdb.texinfo 31 Aug 2009 20:18:46 -0000 1.619
+++ doc/gdb.texinfo 1 Sep 2009 02:26:36 -0000
@@ -8427,8 +8427,14 @@ performance, because it reduces the over
bundling memory reads and writes into large chunks. Unfortunately, simply
caching everything would lead to incorrect results, since @value{GDBN}
does not necessarily know anything about volatile values, memory-mapped I/O
-addresses, etc. Therefore, by default, @value{GDBN} only caches data
-known to be on the stack. Other regions of memory can be explicitly marked
+addresses, etc. Furthermore, in non-stop mode (@pxref{Non-Stop Mode})
+memory can be changed @emph{while} a gdb command is executing.
+Therefore, by default, @value{GDBN} only caches data
+known to be on the stack.@footnote{In non-stop mode, it is moderately
+rare for a running thread to modify the stack of a stopped thread
+in a way that would interfere with a backtrace, and caching of
+stack reads provides a significant speed up of remote backtraces.}
+Other regions of memory can be explicitly marked
cacheable; see @pxref{Memory Region Attributes}.
@table @code
reply other threads:[~2009-09-01 2:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20090901023206.C5DDD843B8@localhost \
--to=dje@google.com \
--cc=eliz@gnu.org \
--cc=gdb-patches@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