summaryrefslogtreecommitdiff
path: root/tool/lib/dump.gdb
blob: 56b420a5461cd7526f5b8ae04aaf5ef98871d0b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
set height 0
set width 0
set confirm off

echo \n>>> Threads\n\n
info threads

echo \n>>> Machine level backtrace\n\n
thread apply all info stack full

echo \n>>> Dump Ruby level backtrace (if possible)\n\n
call rb_vmdebug_stack_dump_all_threads()
call fflush(stderr)

echo ">>> Finish\n"
detach
quit