aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-21 08:31:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-21 08:31:24 +0000
commit131d0efb5fc34c2e7bb3b72d4404a3155c33e182 (patch)
treed5e31eb39c17be6738058b1e3cfd253e4645a8ba /debug.c
parentf40a94a9cd2807296c89eff3240436b3065b4827 (diff)
downloadruby-131d0efb5fc34c2e7bb3b72d4404a3155c33e182.tar.gz
* 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
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/debug.c b/debug.c
index 5dc5c86a39..abc1daa7eb 100644
--- a/debug.c
+++ b/debug.c
@@ -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,