Skip to content

Commit

Permalink
* .gdbinit (rb_ps_vm): follow st_table's packing change.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nurse committed Apr 23, 2012
1 parent e2b5407 commit 90d99ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gdbinit
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Mon Apr 23 14:16:45 2012 NARUSE, Yui <[email protected]>

* .gdbinit (rb_ps_vm): follow st_table's packing change.

Mon Apr 23 10:43:30 2012 Nobuyoshi Nakada <[email protected]>

* configure.in: disable rubygems not to load rbconfig.rb before
Expand Down

0 comments on commit 90d99ef

Please sign in to comment.