diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-21 08:31:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-21 08:31:24 +0000 |
commit | da356c2fafdc8500792312cc971556dbb1493076 (patch) | |
tree | d5e31eb39c17be6738058b1e3cfd253e4645a8ba /debug.c | |
parent | d40432de0a4a8fb742c1b7ee74d13975f83ea772 (diff) | |
download | ruby-da356c2fafdc8500792312cc971556dbb1493076.tar.gz ruby-da356c2fafdc8500792312cc971556dbb1493076.tar.xz ruby-da356c2fafdc8500792312cc971556dbb1493076.zip |
* debug.c (dummy_gdb_enums.various): added ENCODING and CODERANGE
constants.
* .gdbinit: use enum constants.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -21,7 +21,14 @@ static const union { enum ruby_value_type value_type; enum node_type node_type; enum { + RUBY_ENCODING_INLINE_MAX = ENCODING_INLINE_MAX, RUBY_ENCODING_SHIFT = ENCODING_SHIFT, + RUBY_ENCODING_MASK = ENCODING_MASK, + RUBY_ENC_CODERANGE_MASK = ENC_CODERANGE_MASK, + RUBY_ENC_CODERANGE_UNKNOWN = ENC_CODERANGE_UNKNOWN, + RUBY_ENC_CODERANGE_7BIT = ENC_CODERANGE_7BIT, + RUBY_ENC_CODERANGE_VALID = ENC_CODERANGE_VALID, + RUBY_ENC_CODERANGE_BROKEN = ENC_CODERANGE_BROKEN, RUBY_FL_MARK = FL_MARK, RUBY_FL_RESERVED = FL_RESERVED, RUBY_FL_FINALIZE = FL_FINALIZE, |