(value)
return value
Translates Python value into native GDB syntax string.
Translates Python value into native GDB syntax string.
Translates Python value into native GDB syntax string .
def value_to_gdb_native(value):
    """Translates Python value into native GDB syntax string."""
    mapping = collections.OrderedDict()
    mapping[bool] = lambda value: 'on' if value else 'off'

    for k, v in mapping.items():
        if isinstance(value, k):
            return v(value)
    return value
def value_to_gdb_native ( value ) : mapping = collections . OrderedDict ( ) mapping [ bool ] = lambda value : 'on' if value else 'off' for k , v in mapping . items ( ) : if isinstance ( value , k ) : return v ( value ) return value