From: Nick Roberts <nickrob@snap.net.nz>
To: gdb@sources.redhat.com
Subject: memory address ranges (-var-create)
Date: Sun, 10 Dec 2006 20:45:00 -0000 [thread overview]
Message-ID: <17788.28864.16294.719219@kahikatea.snap.net.nz> (raw)
For
-var-create - * EXPRESSION
the manual says EXPRESSION may be:
* `*ADDR-ADDR' -- a memory address range (TBD)
but the expression takes the value at the first address and subtracts the
second. TBD is a bit ambiguous but perhaps it means "to be done" rather
that "to be decided". In any case if -var-create parses an expression like
"print" or "break" does then it can't work as it stands as *ADDR-ADDR
already has a different meaning.
I would like to detect when a string value changes which presumably means
watching a memory address range. Currently a variable object for a string
will only detect that the address has changed or the first character
(the child).
I see that watch expressions do the right thing in Insight, from which the
variable object code has apparently been taken. Can this code be adapted
for -var-create?
--
Nick http://www.inet.net.nz/~nickrob
next reply other threads:[~2006-12-10 20:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-10 20:45 Nick Roberts [this message]
2006-12-10 20:53 ` Daniel Jacobowitz
2006-12-10 22:06 ` Nick Roberts
2006-12-11 2:31 ` Daniel Jacobowitz
2006-12-11 21:50 ` Nick Roberts
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=17788.28864.16294.719219@kahikatea.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=gdb@sources.redhat.com \
/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