Actions

EmSys

GDB - Other Useful Commands

From EdWiki

Revision as of 09:31, 23 June 2015 by Jshankar (Talk | contribs) (1 revision imported: EdWiki -- Emsys pages from Shukra)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Other Useful Commands

  • backtrace - produces a stack trace of the function calls that lead to a seg fault (should remind you of Java exceptions)
  • where - same as backtrace; you can think of this version as working even when you’re still in the middle of the program
  • finish - runs until the current function is finished
  • delete - deletes a specified breakpoint
  • info breakpoints - shows information about all declared breakpoints