* .gdbinit (rp): show type name for RTypedData.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
af97da84ed
commit
0133aee46c
2
.gdbinit
2
.gdbinit
@ -269,7 +269,7 @@ define rp
|
||||
else
|
||||
if ($flags & RUBY_T_MASK) == RUBY_T_DATA
|
||||
if ((struct RTypedData *)($arg0))->typed_flag == 1
|
||||
printf "T_DATA(typed): "
|
||||
printf "T_DATA(%s): ", ((struct RTypedData *)($arg0))->type->wrap_struct_name
|
||||
print (struct RTypedData *)($arg0)
|
||||
else
|
||||
printf "T_DATA: "
|
||||
|
Loading…
x
Reference in New Issue
Block a user