summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-16 09:17:28 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-16 09:17:28 +0000
commitb8dc3c1e2ae4ebf40485c3191995ca3a8d8624b3 (patch)
tree9966148975ea551fd335fa486ab29bc6f93e3f3b /ruby.c
parent676dc908b6ae40413e552ae4edf047190cdb583d (diff)
downloadruby-b8dc3c1e2ae4ebf40485c3191995ca3a8d8624b3.tar.gz
* 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
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ruby.c b/ruby.c
index c39731385b..8c86ddfd47 100644
--- a/ruby.c
+++ b/ruby.c
@@ -59,6 +59,9 @@ static const union {
enum ruby_special_consts special_consts;
enum ruby_value_type value_type;
enum node_type node_type;
+ enum {
+ RUBY_ENCODING_SHIFT = ENCODING_SHIFT
+ } various;
} dummy_gdb_enums;
const VALUE RUBY_FL_MARK = FL_MARK;