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

ruby-changes:9554

From: nobu <ko1@a...>
Date: Sat, 27 Dec 2008 17:09:03 +0900 (JST)
Subject: [ruby-changes:9554] Ruby:r21094 (trunk): * .gdbinit (dummy_gdb_enums.special_consts): forces to load debug

nobu	2008-12-27 17:08:44 +0900 (Sat, 27 Dec 2008)

  New Revision: 21094

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

  Log:
    * .gdbinit (dummy_gdb_enums.special_consts): forces to load debug
      info on Mac OS X.
    * .gdbinit (rp): added T_ZOMBIE.

  Modified files:
    trunk/.gdbinit
    trunk/ChangeLog

Index: .gdbinit
===================================================================
--- .gdbinit	(revision 21093)
+++ .gdbinit	(revision 21094)
@@ -1,3 +1,6 @@
+if dummy_gdb_enums.special_consts
+end
+
 define rp
   if (VALUE)$arg0 & RUBY_FIXNUM_FLAG
     printf "FIXNUM: %ld\n", $arg0 >> 1
@@ -217,6 +220,9 @@
     output (enum node_type)(($flags&RUBY_NODE_TYPEMASK)>>RUBY_NODE_TYPESHIFT)
     printf "): "
     print *(NODE *)$arg0
+  if ($flags & RUBY_T_MASK) == RUBY_T_ZOMBIE
+    printf "T_ZOMBIE: "
+    print (struct RData *)$arg0
   else
     printf "unknown: "
     print (struct RBasic *)$arg0
@@ -251,6 +257,7 @@
   end
   end
   end
+  end
 end
 document rp
   Print a Ruby's VALUE.
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 21093)
+++ ChangeLog	(revision 21094)
@@ -1,3 +1,10 @@
+Sat Dec 27 17:08:43 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* .gdbinit (dummy_gdb_enums.special_consts): forces to load debug
+	  info on Mac OS X.
+
+	* .gdbinit (rp): added T_ZOMBIE.
+
 Sat Dec 27 16:18:02 2008  Koichi Sasada  <ko1@a...>
 
 	* eval.c (rb_frame_callee, rb_frame_caller): rb_frame_callee() 

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

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