forked from mirrors/gecko-dev
Backed out changeset 047d21f101de (bug 846018)
This commit is contained in:
parent
d92f45cf3d
commit
fa8ad881b8
1 changed files with 0 additions and 14 deletions
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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue