mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 03:30:42 +02:00
Add gdb and lldb links to debugging troubleshooting
This commit is contained in:
parent
d94adc7270
commit
cb7c5ca824
@ -375,12 +375,12 @@ There are a few possible fixes:
|
|||||||
|
|
||||||
1. Configure source file mapping.
|
1. Configure source file mapping.
|
||||||
|
|
||||||
For `gdb` create or append to `.gdbinit` file:
|
For `gdb` create or append to [`.gdbinit` file](https://sourceware.org/gdb/current/onlinedocs/gdb#gdbinit-man):
|
||||||
```
|
```
|
||||||
set substitute-path ./src /path/to/project/root/src
|
set substitute-path ./src /path/to/project/root/src
|
||||||
```
|
```
|
||||||
|
|
||||||
For `lldb` create or append to `.lldbinit` file:
|
For `lldb` create or append to [`.lldbinit` file](https://lldb.llvm.org/man/lldb.html#configuration-files):
|
||||||
```
|
```
|
||||||
settings set target.source-map ./src /path/to/project/root/src
|
settings set target.source-map ./src /path/to/project/root/src
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user