On Wed, May 12, 2010 at 2:20 AM, Todd wrote:
> Hi I'd like to watch the dbgvars in binary:
> in gdb like this:
>
> p/t somevar
>
>
> Is this implemented?


Hello Todd,

This is not currently implemented.
The corresponding gdb/mi command is `-var-set-format' (see description
below).
I am going to implement it and it should be available shortly.

Xavier


+++ The `-var-set-format' Command
+++ -----------------------------
+++
+++ Synopsis
+++ ........
+++
+++       -var-set-format NAME FORMAT-SPEC
+++
+++    Sets the output format for the value of the object NAME to be
+++ FORMAT-SPEC.
+++
+++    The syntax for the FORMAT-SPEC is as follows:
+++
+++       FORMAT-SPEC ==>
+++       {binary | decimal | hexadecimal | octal | natural}
+++
+++    The natural format is the default format choosen automatically based
+++ on the variable type (like decimal for an `int', hex for pointers,
+++ etc.).
+++
+++    For a variable with children, the format is set only on the variable
+++ itself, and the children are not affected.

------------------------------------------------------------------------------

_______________________________________________
Pyclewn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyclewn-general

Reply via email to