зеркало из https://github.com/github/ruby.git
* 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:
Родитель
da19797648
Коммит
a2d42dab14
2
.gdbinit
2
.gdbinit
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
4
debug.c
4
debug.c
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче