lib/utils/config/gdb/ruby in utils-0.0.10 vs lib/utils/config/gdb/ruby in utils-0.0.12
- old
+ new
@@ -51,11 +51,11 @@
echo \n
call (const char *) rb_id2name($arg0 >> 8)
else
set $rbasic = (struct RBasic*)$arg0
# output $rbasic
- # echo \ =\
+ # echo \ =\
# output *$rbasic
# echo \n
set $flags = (*$rbasic).flags & 0x3f
if ($flags == 0x01)
echo T_NIL\n
@@ -177,35 +177,21 @@
end
end
end
end
end
-document rp
-rubyの組み込みオブジェクトを表示する
-end
define nd_type
print nodetype($arg0)
end
-document nd_type
-ruby node の型を表示
-end
define nd_file
print ((NODE*)$arg0)->nd_file
end
-document nd_file
-node のソースファイル名を表示
-end
define nd_line
print nodeline($arg0)
end
-document nd_line
-node の行番号を表示
-end
-
-# ruby node のメンバを表示
define nd_head
print "u1.node"
what $arg0.u1.node
p $arg0.u1.node