1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* debug.c (ruby_dummy_gdb_enums): made public. [ruby-dev:39001]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-08-05 09:46:07 +00:00
parent da19797648
commit a2d42dab14
3 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,5 @@
define rp
if dummy_gdb_enums.special_consts
if ruby_dummy_gdb_enums.special_consts
end
if (VALUE)($arg0) & RUBY_FIXNUM_FLAG
printf "FIXNUM: %ld\n", (long)($arg0) >> 1

View file

@ -1,3 +1,7 @@
Wed Aug 5 18:46:01 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* debug.c (ruby_dummy_gdb_enums): made public. [ruby-dev:39001]
Wed Aug 5 12:54:00 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (rb_exc_raise, rb_exc_fatal): require exception object.

View file

@ -18,7 +18,7 @@
#include "id.h"
/* for gdb */
static const union {
const union {
enum ruby_special_consts special_consts;
enum ruby_value_type value_type;
enum ruby_tag_type tag_type;
@ -67,7 +67,7 @@ static const union {
RUBY_NODE_LMASK = NODE_LMASK,
RUBY_NODE_FL_NEWLINE = NODE_FL_NEWLINE
} various;
} dummy_gdb_enums;
} ruby_dummy_gdb_enums;
const VALUE RUBY_FL_USER19 = FL_USER19;