From: "Marc Khouzam" <marc.khouzam@ericsson.com>
To: <gdb-patches@sourceware.org>
Subject: Re: [PATCH]: MI -var-set-format
Date: Thu, 24 Jan 2008 21:49:00 -0000 [thread overview]
Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA04290E62@ecamlmw720.eamcs.ericsson.se> (raw)
>> I thought the intentio was to commit Vladimir's patch too:
>>>
>>> http://sourceware.org/ml/gdb/2008-01/msg00116.html
>>>
>>> perhaps using xstrdup instead of strdup. I can then make appropriate
>>> changes to Emacs in the CVS repository prior to the release of 22.2.
>>
>> One thread at a time is all I can handle. Have we concluded that the
>> above patch is better than always using natural format to check for
>> updates?
>
> I thought that was part of the thread. Isn't Marc's patch for
> -var-evaluate-expression meant to meet his requirement for multiple formats?
In my case, I agreed that this solution is sufficient (and probably the least intrusive.)
But we do need Vladimir's patch.
Here is a small patch for the doc to explain this requirement. Feel free to reword
of course.
Marc
### Eclipse Workspace Patch 1.0
#P gdb
Index: doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.459
diff -u -r1.459 gdb.texinfo
--- doc/gdb.texinfo 23 Jan 2008 11:26:29 -0000 1.459
+++ doc/gdb.texinfo 24 Jan 2008 21:32:51 -0000
@@ -20058,6 +20058,9 @@
recommended to use the @samp{--all-values} option, to reduce the
number of MI commands needed on each program stop.
+To know if a variable object or any of its children has changed value in any
+format instead of only the current one, the variable object and all its children
+should be in the natural format before issuing the @code{-var-update} command.
@subsubheading Example
next reply other threads:[~2008-01-24 21:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-24 21:49 Marc Khouzam [this message]
2008-01-25 10:38 ` Eli Zaretskii
2008-01-25 15:46 ` Marc Khouzam
-- strict thread matches above, loose matches on Subject: below --
2006-05-02 6:19 Nick Roberts
2006-05-05 18:11 ` Daniel Jacobowitz
2006-05-05 23:30 ` Nick Roberts
2006-05-15 17:07 ` Daniel Jacobowitz
2006-05-16 3:46 ` Nick Roberts
2008-01-22 20:13 ` Daniel Jacobowitz
2008-01-23 3:25 ` Nick Roberts
2008-01-23 3:48 ` Daniel Jacobowitz
2008-01-23 6:24 ` Nick Roberts
2008-01-23 13:17 ` Daniel Jacobowitz
2008-01-23 21:17 ` Nick Roberts
2008-01-23 21:24 ` Daniel Jacobowitz
2008-01-23 22:30 ` 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=6D19CA8D71C89C43A057926FE0D4ADAA04290E62@ecamlmw720.eamcs.ericsson.se \
--to=marc.khouzam@ericsson.com \
--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