- Once we invoked the debugger, we can run the program using the command "run".
- If the program requires command line parameters (like our debugme program does), we can supply them to the "run" command of gdb. For example:
(gdb) run "hello, world" "goodbye, world"
- Note that we used quotation marks to denote that "hello, world" is a single parameter, and not to separate parameters (the debugger assumes white-space separates the parameters).
Cem Ozdogan
2011-02-14