ruby-changes:9584
From: yugui <ko1@a...>
Date: Sun, 28 Dec 2008 18:42:17 +0900 (JST)
Subject: [ruby-changes:9584] Ruby:r21124 (ruby_1_9_1): merges r21094 from trunk into ruby_1_9_1.
yugui 2008-12-28 18:41:44 +0900 (Sun, 28 Dec 2008) New Revision: 21124 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21124 Log: merges r21094 from trunk into ruby_1_9_1. * .gdbinit (dummy_gdb_enums.special_consts): forces to load debug info on Mac OS X. * .gdbinit (rp): added T_ZOMBIE. Modified files: branches/ruby_1_9_1/.gdbinit branches/ruby_1_9_1/ChangeLog Index: ruby_1_9_1/.gdbinit =================================================================== --- ruby_1_9_1/.gdbinit (revision 21123) +++ ruby_1_9_1/.gdbinit (revision 21124) @@ -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: ruby_1_9_1/ChangeLog =================================================================== --- ruby_1_9_1/ChangeLog (revision 21123) +++ ruby_1_9_1/ChangeLog (revision 21124) @@ -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/