* roottypes.cs: Rename from tree.cs.
[mono.git] / web / print-stack
1 #!/bin/sh
2
3 MANAGED_CALLS=`gdb -silent $1 -pid $2 << EOF | awk '/.* in \?\? \(\)/ {printf("call print_method_from_ip(%s)\n", $2);}'
4 set height 0
5 thread apply all bt
6 quit
7 EOF`
8
9 gdb -silent $1 -pid $2 << EOF
10 set height 0
11 thread apply all bt
12 $MANAGED_CALLS
13 quit
14 EOF
15