gdb attaching to process during tests has non-sudo solution
This commit is contained in:
parent
72bd4ab867
commit
f96dbd1bbe
1 changed files with 2 additions and 1 deletions
|
@ -175,7 +175,8 @@ cat /tmp/user/1000/testo9vsdjo3/node1/regtest/bitcoind.pid
|
||||||
gdb /home/example/bitcoind <pid>
|
gdb /home/example/bitcoind <pid>
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: gdb attach step may require `sudo`
|
Note: gdb attach step may require ptrace_scope to be modified, or `sudo` preceding the `gdb`.
|
||||||
|
See this link for considerations: https://www.kernel.org/doc/Documentation/security/Yama.txt
|
||||||
|
|
||||||
### Util tests
|
### Util tests
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue