ruby-changes:11594
From: yugui <ko1@a...>
Date: Sun, 19 Apr 2009 22:35:51 +0900 (JST)
Subject: [ruby-changes:11594] Ruby:r23231 (ruby_1_9_1): merges r23098 from trunk into ruby_1_9_1.
yugui 2009-04-19 22:35:26 +0900 (Sun, 19 Apr 2009) New Revision: 23231 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23231 Log: merges r23098 from trunk into ruby_1_9_1. -- * .gdbinit (rp): show negative fixnum correctly. 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 23230) +++ ruby_1_9_1/.gdbinit (revision 23231) @@ -3,7 +3,7 @@ define rp if (VALUE)$arg0 & RUBY_FIXNUM_FLAG - printf "FIXNUM: %ld\n", $arg0 >> 1 + printf "FIXNUM: %ld\n", (long)$arg0 >> 1 else if ((VALUE)$arg0 & ~(~(VALUE)0<<RUBY_SPECIAL_SHIFT)) == RUBY_SYMBOL_FLAG printf "SYMBOL(%ld)\n", $arg0 >> RUBY_SPECIAL_SHIFT Index: ruby_1_9_1/ChangeLog =================================================================== --- ruby_1_9_1/ChangeLog (revision 23230) +++ ruby_1_9_1/ChangeLog (revision 23231) @@ -1,3 +1,7 @@ +Mon Mar 30 19:04:25 2009 Tanaka Akira <akr@f...> + + * .gdbinit (rp): show negative fixnum correctly. + Mon Mar 30 12:12:46 2009 Nobuyoshi Nakada <nobu@r...> * vm_eval.c (eval_string_with_cref): replaces the message if -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/