xref: /openbsd-src/gnu/llvm/lldb/tools/debugserver/scripts/diagnose-termination.d (revision 061da546b983eb767bad15e67af1174fb0bcf31c)
1*061da546Spatrick fbt::exception_deliver:entry
2*061da546Spatrick {
3*061da546Spatrick    printf("pid %d got an exception of type %d\n", pid, arg1);
4*061da546Spatrick    stack();
5*061da546Spatrick    ustack();
6*061da546Spatrick }
7*061da546Spatrick 
8*061da546Spatrick syscall::kill:entry
9*061da546Spatrick {
10*061da546Spatrick    printf("pid %d called kill(%d, %d)\n", pid, arg0, arg1);
11*061da546Spatrick    ustack();
12*061da546Spatrick }
13*061da546Spatrick 
14*061da546Spatrick syscall::__pthread_kill:entry
15*061da546Spatrick {
16*061da546Spatrick    printf("pid %d called pthread_kill(%p, %d)\n", pid, arg0, arg1);
17*061da546Spatrick    ustack();
18*061da546Spatrick }
19