Tuesday, January 31, 2012

How to give program arguments in GDB?

Use --args option with gdb.

gdb --args <program> <arg1> <arg2>

Ref: http://stackoverflow.com/

No comments: