ruby-changes:2725
From: ko1@a...
Date: 13 Dec 2007 21:32:24 +0900
Subject: [ruby-changes:2725] akr - Ruby:r14216 (trunk): don't show shared and assoc for embed string.
akr 2007-12-13 21:32:06 +0900 (Thu, 13 Dec 2007) New Revision: 14216 Modified files: trunk/.gdbinit Log: don't show shared and assoc for embed string. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/.gdbinit?r1=14216&r2=14215 Index: .gdbinit =================================================================== --- .gdbinit (revision 14215) +++ .gdbinit (revision 14216) @@ -61,13 +61,14 @@ (($flags & (RUBY_FL_USER2|RUBY_FL_USER3|RUBY_FL_USER4|RUBY_FL_USER5|RUBY_FL_USER6)) >> RUBY_FL_USHIFT+2) if !($flags & RUBY_FL_USER1) printf "(embed) " + else + if ($flags & RUBY_FL_USER2) + printf "(shared) " + end + if ($flags & RUBY_FL_USER3) + printf "(assoc) " + end end - if ($flags & RUBY_FL_USER2) - printf "(shared) " - end - if ($flags & RUBY_FL_USER3) - printf "(assoc) " - end printf "encoding:%d ", ($flags & (RUBY_FL_USER8|RUBY_FL_USER9|RUBY_FL_USER10|RUBY_FL_USER11)) >> RUBY_ENCODING_SHIFT if ($flags & (RUBY_FL_USER12|RUBY_FL_USER13)) == 0 printf "coderange:unknown " -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml