Skip to content
Ivan edited this page Dec 21, 2016 · 1 revision

If you are testing dreamos with gdb, here a list of useful gdb commands:

  • symbol-file dreamos.img - will load the list of all dreamos symbols (function names, variables, etc.)
  • break functionname - Will set a breakpoint on the function functionname
  • break filename.c:X if (condition) - Will set a breakpoint on file filename.c, line X that will be fired when condition is true
  • print variable - Print variable value
  • next - Go to next function
  • step - Step to next line
Clone this wiki locally