diff options
-rw-r--r-- | .gdbinit | 2 | ||||
-rw-r--r-- | debug.c | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -50,7 +50,7 @@ define rp end else set $flags = ((struct RBasic*)($arg0))->flags - if ($flags & RUBY_FL_PROMOTED) + if ($flags & RUBY_FL_PROMOTED) == RUBY_FL_PROMOTED printf "[PROMOTED] " end if ($flags & RUBY_T_MASK) == RUBY_T_NONE @@ -35,6 +35,7 @@ const union { RUBY_ENC_CODERANGE_BROKEN = ENC_CODERANGE_BROKEN, RUBY_FL_PROMOTED0 = FL_PROMOTED0, RUBY_FL_PROMOTED1 = FL_PROMOTED1, + RUBY_FL_PROMOTED = FL_PROMOTED0|FL_PROMOTED1, RUBY_FL_FINALIZE = FL_FINALIZE, RUBY_FL_TAINT = FL_TAINT, RUBY_FL_EXIVAR = FL_EXIVAR, |