We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19ad72d commit 426cdb2Copy full SHA for 426cdb2
.gdbinit
@@ -51,7 +51,7 @@ define rp
51
printf "%sT_OBJECT%s: ", $color_type, $color_end
52
print ((struct RObject *)($arg0))->basic
53
if ($flags & ROBJECT_EMBED)
54
- print/x *((VALUE*)((struct RObject*)($arg0))->as.ary) @ (rb_shape_get_shape($arg0)->capacity)
+ print/x *((VALUE*)((struct RObject*)($arg0))->as.ary) @ (RSHAPE_CAPACITY(rb_obj_shape_id($arg0)))
55
else
56
print (((struct RObject *)($arg0))->as.heap)
57
if (((struct RObject*)($arg0))->as.heap.numiv) > 0
0 commit comments