Skip to content

Commit

Permalink
* .gdbinit (rb_numtable_entry): update for recent refactoring of
Browse files Browse the repository at this point in the history
  st_table.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Mar 8, 2012
1 parent 0c8ae91 commit eec6596
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .gdbinit
Original file line number Diff line number Diff line change
Expand Up @@ -625,18 +625,18 @@ define rb_numtable_entry
set $rb_numtable_key = 0
set $rb_numtable_rec = 0
if $rb_numtable_tbl->entries_packed
set $rb_numtable_p = $rb_numtable_tbl->bins
while $rb_numtable_p && $rb_numtable_p < $rb_numtable_tbl->bins+$rb_numtable_tbl->num_entries
if (st_data_t)$rb_numtable_p[0] == $rb_numtable_id
set $rb_numtable_key = (st_data_t)$rb_numtable_p[0]
set $rb_numtable_rec = (st_data_t)$rb_numtable_p[1]
set $rb_numtable_p = $rb_numtable_tbl->as.packed.bins
while $rb_numtable_p && $rb_numtable_p < $rb_numtable_tbl->as.packed.bins+$rb_numtable_tbl->num_entries
if $rb_numtable_p.k == $rb_numtable_id
set $rb_numtable_key = $rb_numtable_p.k
set $rb_numtable_rec = $rb_numtable_p.v
set $rb_numtable_p = 0
else
set $rb_numtable_p = $rb_numtable_p + 2
set $rb_numtable_p = $rb_numtable_p + 1
end
end
else
set $rb_numtable_p = $rb_numtable_tbl->bins[$rb_numtable_id % $rb_numtable_tbl->num_bins]
set $rb_numtable_p = $rb_numtable_tbl->as.big.bins[$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
Expand Down
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Thu Mar 8 16:44:02 2012 Nobuyoshi Nakada <[email protected]>

* .gdbinit (rb_numtable_entry): update for recent refactoring of
st_table.

Wed Mar 7 22:41:50 2012 CHIKANAGA Tomoyuki <[email protected]>

* lib/xmlrpc/client.rb (module XMLRPC): fix typo.
Expand Down

0 comments on commit eec6596

Please sign in to comment.