aboutsummaryrefslogtreecommitdiffstats
path: root/.gdbinit
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-23 14:47:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-23 14:47:04 +0000
commitd550d7224927d7dfccd085103bebc619034da43c (patch)
treea1678ef560ef1dd5dd9a1dcf01dc8c487b104a4e /.gdbinit
parent0ab88d13a1b9688d1ae4a6ae3c57d7be43006d4b (diff)
downloadruby-d550d7224927d7dfccd085103bebc619034da43c.tar.gz
.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
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gdbinit b/.gdbinit
index 9c50692f3c..ba6db58ac3 100644
--- a/.gdbinit
+++ b/.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