[前][次][番号順一覧][スレッド一覧]

ruby-changes:39248

From: naruse <ko1@a...>
Date: Wed, 22 Jul 2015 08:24:23 +0900 (JST)
Subject: [ruby-changes:39248] naruse:r51329 (trunk): follow r51064

naruse	2015-07-22 08:24:18 +0900 (Wed, 22 Jul 2015)

  New Revision: 51329

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51329

  Log:
    follow r51064

  Modified files:
    trunk/.gdbinit
Index: .gdbinit
===================================================================
--- .gdbinit	(revision 51328)
+++ .gdbinit	(revision 51329)
@@ -920,12 +920,12 @@ define rb_ps_vm https://github.com/ruby/ruby/blob/trunk/.gdbinit#L920
       set $ps_threads_i = $ps_threads_i + 1
     end
   else
-    set $ps_threads_ptr = (st_table_entry*)$ps_threads->head
+    set $ps_threads_ptr = (st_table_entry*)$ps_threads->as.big.private_list_head[0]
     while $ps_threads_ptr
       set $ps_threads_key = (st_data_t)$ps_threads_ptr->key
       set $ps_threads_val = (st_data_t)$ps_threads_ptr->record
       rb_ps_thread $ps_threads_key $ps_threads_val
-      set $ps_threads_ptr = (st_table_entry*)$ps_threads_ptr->fore
+      set $ps_threads_ptr = (st_table_entry*)$ps_threads_ptr->olist.next
     end
   end
 end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]