akr
7b8d61c2ed
use %ld for VALUE in rp.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-06 06:50:41 +00:00
akr
774aebb3ce
follow RFloat member name change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-06 06:40:56 +00:00
akr
b82a05989e
* re.c (ARG_ENCODING_NONE): defined for /.../n option.
...
(REG_ENCODING_NONE): ditto.
(rb_char_to_option_kcode): return ARG_ENCODING_NONE for n.
(rb_reg_prepare_re): warn /ascii/n =~ "non-ascii".
(rb_reg_initialize): set REG_ENCODING_NONE from ARG_ENCODING_NONE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 16:39:36 +00:00
nobu
131d0efb5f
* debug.c (dummy_gdb_enums.various): added ENCODING and CODERANGE
...
constants.
* .gdbinit: use enum constants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 08:31:24 +00:00
akr
a0fc8b5564
show regexp flags and encoding.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-17 13:11:13 +00:00
akr
968918da16
don't show shared and assoc for embed string.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-13 12:32:06 +00:00
akr
9595af4ad5
* string.c (rb_str_shared_replace): make str noembed after free.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-13 11:52:15 +00:00
akr
2ed2078909
fix coderange.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-26 02:49:44 +00:00
akr
b8dc3c1e2a
* ruby.c (RUBY_ENCODING_SHIFT): added as enum.
...
* .gdbinit (rp): show encoding and coderange for strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-16 09:17:28 +00:00
akr
b07ff6ba89
avoid magic numbers.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-07 13:26:41 +00:00
akr
a6e5b6d660
* include/ruby/node.h: make node flags as VALUE type.
...
enum ruby_node_flags removed.
* ruby.c: define RUBY_NODE_* as const for gdb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-07 13:03:05 +00:00
akr
35028627e5
forgot to follow RHash change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-11 16:22:50 +00:00
akr
2c8e7a50c1
* include/ruby/ruby.h (struct RBignum): embed digits in RBignum for
...
small bignums.
* bignum.c: RBignum embeded digits implemented.
* include/ruby/intern.h: declare rb_big_resize.
* gc.c: don't free embedded digits.
* numeric.c: replace direct bignum field accessor by abstract field
accessor such as RBIGNUM(val)->sign to RBIGNUM_SIGN(val).
* sprintf.c: ditto.
* compar.c: ditto.
* marshal.c: ditto.
* random.c: ditto.
* .gdbinit: support embedded small bignums.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-01 12:02:36 +00:00
matz
bef0b1fa36
* bignum.c (bigtrunc): RBIGNUM(x)->len may be zero. out of bound
...
access. [ruby-dev:31404]
* sprintf.c (rb_str_format): small float should not call
rb_dbl2big().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-16 22:22:24 +00:00
nobu
f800cdbabc
* include/ruby/ruby.h (ruby_special_consts): added RUBY_SPECIAL_SHIFT.
...
* .gdbinit: some improvements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-07 04:58:07 +00:00
nobu
e8b0aa4ca0
* include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
...
support. [ruby-dev:31066]
* .gdbinit: some improvements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-05 01:42:09 +00:00
akr
afa74d6cae
* .gdbinit: new file to ease debugging using gdb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-15 13:59:45 +00:00