Quote:
Originally Posted by eddyq
How do I pass an argument to my program via gdb?
|
Code:
gdb --args ./prog -dfile
--args is in gdb.info, but not in the man page.
For a complicated program like gdb, I have no idea how someone decides what is important enough to go in the man page. But usually such decisions are made amazingly badly. Most of the man page for gdb are obscure details far less likely to be needed than --args.