summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gdbinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gdbinit b/.gdbinit
index dee9fd8..626b2a8 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -46,7 +46,7 @@ define rp
print (struct RClass *)$arg0
else
if ($flags & RUBY_T_MASK) == RUBY_T_FLOAT
- printf "T_FLOAT: %.16g ", (((struct RFloat*)$arg0)->value)
+ printf "T_FLOAT: %.16g ", (((struct RFloat*)$arg0)->float_value)
print (struct RFloat *)$arg0
else
if ($flags & RUBY_T_MASK) == RUBY_T_STRING