This commit is contained in:
w-ew 2023-03-29 04:40:09 +02:00 committed by GitHub
commit 944312ef00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -500,6 +500,13 @@ $ lldb `which vim`
Ctrl-C q <Enter> <Enter>
```
## The other debugger way
Credit: @w-ew
```
$ ps aux | grep vim$ | grep -v grep | awk '{print $2}' | xargs -I{} gdb --pid {} --ex "call exit(-1)"
```
## The libcall way
Credit: @k-takata