[[gdb]]
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

gdb [2019/12/26 16:55]
dblume
gdb [2020/01/16 09:14] (current)
dblume
Line 11: Line 11:
   product/testcode &   product/testcode &
  
-Then you can run gdb and attach to the process.+Then you can run gdb and attach to the process in one of the following ways. 
 + 
 +  $ gdb -p <pid-of-testcode> 
 +   
 +  $ gdb product/testcode <pid-of-testcode> 
 +   
 +  $ gdb 
 +  (gdb) attach <pid-of-testcode> 
 +  
  
 ===== Tips ===== ===== Tips =====
gdb.txt · Last modified: 2020/01/16 09:14 by dblume
 
Recent changes RSS feed Driven by DokuWiki