diff options
Diffstat (limited to 'misc/lldb_cruby.py')
-rwxr-xr-x | misc/lldb_cruby.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/lldb_cruby.py b/misc/lldb_cruby.py index 898cb2fa68..67810d5417 100755 --- a/misc/lldb_cruby.py +++ b/misc/lldb_cruby.py @@ -350,7 +350,7 @@ def lldb_inspect(debugger, target, result, val): elif flType == RUBY_T_FLOAT: tRFloat = target.FindFirstType("struct RFloat").GetPointerType() val = val.Cast(tRFloat) - append_command_output(debugger, "p *(double *)%0#x" % val.GetValueForExpressionPath("->float_value").GetAddress(), result) + print(val.GetValueForExpressionPath("->float_value"), file=result) elif flType == RUBY_T_RATIONAL: tRRational = target.FindFirstType("struct RRational").GetPointerType() val = val.Cast(tRRational) |