mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* .gdbinit (rb_numtable_entry): update for recent refactoring of
st_table. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0c8ae91651
commit
eec65961d0
2 changed files with 12 additions and 7 deletions
14
.gdbinit
14
.gdbinit
|
@ -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
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
Thu Mar 8 16:44:02 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* .gdbinit (rb_numtable_entry): update for recent refactoring of
|
||||
st_table.
|
||||
|
||||
Wed Mar 7 22:41:50 2012 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
|
||||
|
||||
* lib/xmlrpc/client.rb (module XMLRPC): fix typo.
|
||||
|
|
Loading…
Reference in a new issue