Differences

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

Link to this comparison view

sesiuni:memory:gdb [2013/07/11 04:34]
rcaragea created
sesiuni:memory:gdb [2013/07/11 04:40] (current)
rcaragea
Line 1: Line 1:
-== Gdb cheat sheet =+= Gdb cheat sheet = 
-Source+== Source ​==
 <code bash> <code bash>
  * Showing source code  * Showing source code
Line 21: Line 21:
 </​code>​ </​code>​
  
-Breakpoints+== Breakpoints ​==
  
 <​code>​ <​code>​
Line 61: Line 61:
 </​code>​ </​code>​
  
-Running+== Running ​==
  
 <code bash> <code bash>
Line 94: Line 94:
 </​code>​ </​code>​
  
-Variables+== Variables ​==
  
 <code bash> <code bash>
Line 133: Line 133:
    
  
-Control flow+== Control flow ==
  * Running until next breakpoint: '​continue'​  * Running until next breakpoint: '​continue'​
  * Running until return of current function '​finish'​  * Running until return of current function '​finish'​
Line 140: Line 140:
  * Equivalents for stepping to the next line of assembly code: '​stepi'​ and '​nexti'​  * Equivalents for stepping to the next line of assembly code: '​stepi'​ and '​nexti'​
  
-Frame jumping and backtracing+== Frame jumping and backtracing ​==
 <code bash> <code bash>
 (gdb) list (gdb) list
Line 183: Line 183:
 </​code>​ </​code>​
  
-Information+== Information ​==
 <code bash> <code bash>
  * Seeing current local variable values  * Seeing current local variable values
Line 241: Line 241:
 </​code>​ </​code>​
  
-Various useful stuff+== Various useful stuff ==
  
  * Searching for strings in memory: 'x /15s 0xffffcd42'​ (searches for 15 strings from that address onwards)  * Searching for strings in memory: 'x /15s 0xffffcd42'​ (searches for 15 strings from that address onwards)
sesiuni/memory/gdb.txt · Last modified: 2013/07/11 04:40 by rcaragea