mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
.gdbinit (rp): follow up changes in r66390
RHASH_ARRAY_{LEN,BOUND}_{MASK,SHIFT} have been renamed to RHASH_AR_TABLE_{SIZE,BOUND}_{MASK,SHIFT}. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1ce2ba32fb
commit
124957566f
1 changed files with 2 additions and 2 deletions
4
.gdbinit
4
.gdbinit
|
@ -160,8 +160,8 @@ define rp
|
|||
printf "st len=%ld ", ((struct RHash *)($arg0))->as.st->num_entries
|
||||
else
|
||||
printf "li len=%ld bound=%ld ", \
|
||||
((((struct RHash *)($arg0))->basic->flags & RHASH_ARRAY_LEN_MASK) >> RHASH_ARRAY_LEN_SHIFT), \
|
||||
((((struct RHash *)($arg0))->basic->flags & RHASH_ARRAY_BOUND_MASK) >> RHASH_ARRAY_BOUND_SHIFT)
|
||||
((((struct RHash *)($arg0))->basic->flags & RHASH_AR_TABLE_SIZE_MASK) >> RHASH_AR_TABLE_SIZE_SHIFT), \
|
||||
((((struct RHash *)($arg0))->basic->flags & RHASH_AR_TABLE_BOUND_MASK) >> RHASH_AR_TABLE_BOUND_SHIFT)
|
||||
end
|
||||
print (struct RHash *)($arg0)
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue