Skip to content

Commit

Permalink
* debug.c (ruby_dummy_gdb_enums): made public. [ruby-dev:39001]
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Aug 5, 2009
1 parent da19797 commit a2d42da
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gdbinit
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Wed Aug 5 18:46:01 2009 Nobuyoshi Nakada <[email protected]>

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

Wed Aug 5 12:54:00 2009 Nobuyoshi Nakada <[email protected]>

* eval.c (rb_exc_raise, rb_exc_fatal): require exception object.
Expand Down
4 changes: 2 additions & 2 deletions debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit a2d42da

Please sign in to comment.