diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-19 13:35:26 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-19 13:35:26 +0000 |
commit | 3320a86571208a134a5cb54589fda8ec02895e58 (patch) | |
tree | 2749eaad1796f41e24e4a3770b20e4674d32bd5f /.gdbinit | |
parent | 64c919353410c81a8f7ababf3a9be269f7bb293c (diff) | |
download | ruby-3320a86571208a134a5cb54589fda8ec02895e58.tar.gz ruby-3320a86571208a134a5cb54589fda8ec02895e58.tar.xz ruby-3320a86571208a134a5cb54589fda8ec02895e58.zip |
merges r23098 from trunk into ruby_1_9_1.
--
* .gdbinit (rp): show negative fixnum correctly.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.gdbinit')
-rw-r--r-- | .gdbinit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,7 +3,7 @@ end 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 |