Skip to content

Commit 426cdb2

Browse files
committed
.gdbinit: rb_shape_get_shape no longer exists
1 parent 19ad72d commit 426cdb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gdbinit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ define rp
5151
printf "%sT_OBJECT%s: ", $color_type, $color_end
5252
print ((struct RObject *)($arg0))->basic
5353
if ($flags & ROBJECT_EMBED)
54-
print/x *((VALUE*)((struct RObject*)($arg0))->as.ary) @ (rb_shape_get_shape($arg0)->capacity)
54+
print/x *((VALUE*)((struct RObject*)($arg0))->as.ary) @ (RSHAPE_CAPACITY(rb_obj_shape_id($arg0)))
5555
else
5656
print (((struct RObject *)($arg0))->as.heap)
5757
if (((struct RObject*)($arg0))->as.heap.numiv) > 0

0 commit comments

Comments
 (0)