summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-17 21:08:23 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-17 21:08:23 (GMT)
commit9763fb84b59f1f1019ae4e0d322520fac55e6a8e (patch)
tree560b921265c79a93356d111267ed26356a32d8f3 /.gdbinit
parent88212206f60f5d88398079ee7e8f8681c8abc376 (diff)
.gdbinit: update for r47913
* .gdbinit (rp): update for r47913. RSymbol has id, so needs mask by scope mask. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gdbinit b/.gdbinit
index 59b43bf..d1279ea 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -212,7 +212,7 @@ define rp
if ($flags & RUBY_T_MASK) == RUBY_T_SYMBOL
printf "%sT_SYMBOL%s: ", $color_type, $color_end
print (struct RSymbol *)($arg0)
- set $id_type = ((struct RSymbol *)($arg0))->type
+ set $id_type = ((struct RSymbol *)($arg0))->id & RUBY_ID_SCOPE_MASK
if $id_type == RUBY_ID_LOCAL
printf "l"
else