repo.or.cz
/
mono.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-01-28 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git]
/
web
/
print-stack
blob
1bf795818013b95f13df5eea257b1b3ebadc5c30
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