mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* .gdbinit (rp): show negative fixnum correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c11f63669a
commit
2a58eebd8f
2 changed files with 5 additions and 1 deletions
2
.gdbinit
2
.gdbinit
|
@ -1,6 +1,6 @@
|
|||
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
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
Mon Mar 30 19:04:25 2009 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* .gdbinit (rp): show negative fixnum correctly.
|
||||
|
||||
Mon Mar 30 12:12:46 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* vm_eval.c (eval_string_with_cref): replaces the message if
|
||||
|
|
Loading…
Reference in a new issue