This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
gdb [2019/12/26 16:55] dblume |
gdb [2021/05/21 00:04] (current) |
||
---|---|---|---|
Line 11: | Line 11: | ||
product/ | product/ | ||
- | Then you can run gdb and attach to the process. | + | Then you can run gdb and attach to the process |
+ | |||
+ | $ gdb -p < | ||
+ | |||
+ | $ gdb product/ | ||
+ | |||
+ | $ gdb | ||
+ | (gdb) attach < | ||
+ | | ||
===== Tips ===== | ===== Tips ===== |