mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
.gdbinit: use st_numhash
* .gdbinit (rb_numtable_entry): use st_numhash() to follow r45384. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0ab88d13a1
commit
d550d72249
1 changed files with 1 additions and 1 deletions
2
.gdbinit
2
.gdbinit
|
@ -731,7 +731,7 @@ define rb_numtable_entry
|
|||
end
|
||||
end
|
||||
else
|
||||
set $rb_numtable_p = $rb_numtable_tbl->as.big.bins[$rb_numtable_id % $rb_numtable_tbl->num_bins]
|
||||
set $rb_numtable_p = $rb_numtable_tbl->as.big.bins[st_numhash($rb_numtable_id) % $rb_numtable_tbl->num_bins]
|
||||
while $rb_numtable_p
|
||||
if $rb_numtable_p->key == $rb_numtable_id
|
||||
set $rb_numtable_key = $rb_numtable_p->key
|
||||
|
|
Loading…
Reference in a new issue