Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
howto:gdb [2019/03/13 09:28] – [See Also] A link to Debian gdb how-to article digital man | howto:gdb [2019/05/07 15:10] – [Debugging] mention "bt full" and "-ex run -args" and such digital man | ||
---|---|---|---|
Line 62: | Line 62: | ||
# gdb / | # gdb / | ||
- | B. Run Synchronet (if no core file used): | + | B. Run Synchronet |
(gdb) run -nd | (gdb) run -nd | ||
C. After segfault or other crash (or when using a core), display back-trace: | C. After segfault or other crash (or when using a core), display back-trace: | ||
(gdb) bt | (gdb) bt | ||
+ | or (if more details are needed): | ||
+ | (gdb) bt full | ||
D. If (and only if) the last line of the output looks like this: | D. If (and only if) the last line of the output looks like this: | ||
Line 74: | Line 76: | ||
E. Copy and paste in e-mail to rob[at]synchro[dot]net or post in one of the Synchronet [[support|discussion groups]]. | E. Copy and paste in e-mail to rob[at]synchro[dot]net or post in one of the Synchronet [[support|discussion groups]]. | ||
+ | |||
+ | **TIP:**\\ | ||
+ | To run Synchronet (non-daemonized) directly from the GNU debugger without having to type " | ||
+ | # gdb -ex run -args sbbs -nd | ||
==== Handling SIGPIPE ==== | ==== Handling SIGPIPE ==== |