diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-14 07:23:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-14 07:23:14 +0000 |
commit | 65075dfe3adbb834d9282c01ba9b0630e2752450 (patch) | |
tree | f30e4437d2d45670efb6c16a3ab2b7550a46b048 /.gdbinit | |
parent | 3e69b074c5ad87778fac4d7974fe1e5fc11d5ed3 (diff) |
symbol.c: ids array
* symbol.c (global_symbols): make ids two-dimensional array of
strings and symbols, for write-barrier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.gdbinit')
-rw-r--r-- | .gdbinit | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -378,8 +378,8 @@ define rp_id end end printf "(%ld): ", $id - if global_symbols.ids.size > ($id >> RUBY_ID_SCOPE_SHIFT) - set $str = global_symbols.ids.ptr[$id >> RUBY_ID_SCOPE_SHIFT]->str + set $str = lookup_id_str($id) + if $str rp_string $str else echo undef\n |