Version: 1.2
Tracker id: 3004140
mercurial changeset: f8f281a0a04e

Problem:
   New feature: A new command is needed to set the output format of a
   watched variable, for example to 'hexadecimal' or 'binary'.


Solution:
    Map the new pyclewn command 'setfmtvar' to the gdb/mi command
    '-var-set-format'.

    Synopsis
    ........

        setfmtvar <name> <format>

    Set the output format of the value of the object <name> to be
    <format>:
        <name> is the gdb/mi name of the watched variable or one of its
        children
        <format> is one of the strings in the following list:

            {binary | decimal | hexadecimal | octal | natural}

    The 'natural' format is the default format chosen automatically
    based on the variable type (like 'decimal' for an int, 'hexadecimal'
    for pointers, etc.). For a variable with children, the format is set
    only on the variable itself, and the children are not affected.


Files:
  gdb.py gdbmi.py

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

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

Reply via email to