Backed out changeset 047d21f101de (bug 846018)
This commit is contained in:
14
.gdbinit
14
.gdbinit
@@ -172,20 +172,6 @@ document ptarray
|
|||||||
ptarray a 1 2 - Prints elements in range [idx1..idx2] from tarray
|
ptarray a 1 2 - Prints elements in range [idx1..idx2] from tarray
|
||||||
end
|
end
|
||||||
|
|
||||||
# define a "pregion" command to print a region in the same format as ToString()
|
|
||||||
def pregion
|
|
||||||
set $r = $arg0.mImpl.mRectListHead.next
|
|
||||||
printf "["
|
|
||||||
while ($r != &$arg0.mImpl.mRectListHead)
|
|
||||||
if ($r != $arg0.mImpl.mRectListHead.next)
|
|
||||||
printf "; "
|
|
||||||
end
|
|
||||||
printf "%d,%d,%d,%d", $r->x, $r->y, $r->x + $r->width, $r->y + $r->height
|
|
||||||
set $r = $r->next
|
|
||||||
end
|
|
||||||
printf "]\n"
|
|
||||||
end
|
|
||||||
|
|
||||||
def js
|
def js
|
||||||
call DumpJSStack()
|
call DumpJSStack()
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user