lectures.alex.balgavy.eu

Lecture notes from university.
git clone git://git.alex.balgavy.eu/lectures.alex.balgavy.eu.git
Log | Files | Refs | Submodules

gdb.md (397B)


      1 +++
      2 title = 'GDB'
      3 +++
      4 
      5 # GDB
      6 - `break` might not work because of anti-debug, set a hardware breakpoint with `hbreak` (but only once program running)
      7 - `starti` sets breakpoint on first instruction and runs
      8 - `bt` prints backtrace of all stack frames
      9 - `frame [n]` can switch you around frames
     10 - `watch` sets a watch point on something and breaks if the value changes
     11 - `next` skips function calls