User Tools

Site Tools


gdb

Differences

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

Link to this comparison view

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/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.1577408129.txt.gz · Last modified: 2021/10/24 23:49 (external edit)