summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-23 05:19:54 (GMT)
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-23 05:19:54 (GMT)
commit90d99ef1bd1ac0d76a163bafe96da986f158a167 (patch)
treec2cb9459c937ff5999d58b9c77b26e493ba3d4d1 /.gdbinit
parente2b54072b5f3b93a15056efdf54697f36f674eb8 (diff)
* .gdbinit (rb_ps_vm): follow st_table's packing change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gdbinit b/.gdbinit
index 4ed4e7f..c86081f 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -731,8 +731,8 @@ define rb_ps_vm
if $ps_threads->entries_packed
set $ps_threads_i = 0
while $ps_threads_i < $ps_threads->num_entries
- set $ps_threads_key = (st_data_t)$ps_threads->bins[$ps_threads_i * 2]
- set $ps_threads_val = (st_data_t)$ps_threads->bins[$ps_threads_i * 2 + 1]
+ set $ps_threads_key = (st_data_t)$ps_threads->as.packed.entries[$ps_threads_i].key
+ set $ps_threads_val = (st_data_t)$ps_threads->as.packed.entries[$ps_threads_i].val
rb_ps_thread $ps_threads_key $ps_threads_val
set $ps_threads_i = $ps_threads_i + 1
end