Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howto:gdb [2019/05/07 15:10] – [Debugging] mention "bt full" and "-ex run -args" and such digital man | howto:gdb [2021/04/02 18:17] – Add [Root Access] details digital man | ||
---|---|---|---|
Line 79: | Line 79: | ||
**TIP:**\\ | **TIP:**\\ | ||
To run Synchronet (non-daemonized) directly from the GNU debugger without having to type " | To run Synchronet (non-daemonized) directly from the GNU debugger without having to type " | ||
- | # gdb -ex run -args sbbs -nd | + | # gdb -ex run --args sbbs -nd |
+ | |||
+ | ==== Root Access ==== | ||
+ | |||
+ | If the '' | ||
+ | |||
+ | Attaching to process 21848 | ||
+ | ptrace: Operation not permitted. | ||
+ | (gdb) | ||
+ | |||
+ | If you get this error, try attaching again as root (e.g. run with '' | ||
==== Handling SIGPIPE ==== | ==== Handling SIGPIPE ==== |