code_junkie

GDB breakpoints

Nov 14th, 2011
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. -x file
  2. Execute GDB commands from file file.
  3.  
  4. break [file:]function
  5. break [file:]function
  6. ...
  7.  
  8. b somefile.c:128
  9. b otherfile.c:33
  10.  
  11. save breakpoints <filename>
  12. Save all current breakpoint definitions to a file suitable for use
  13. in a later debugging session. To read the saved breakpoint
  14. definitions, use the `source' command.
Add Comment
Please, Sign In to add comment