How do I add arguments to a program I am debugging with gdb?

The following doesn't seem to work.

gdb ./foo -i somearg

brian
-- 
Brian Lavender
http://www.brie.com/brian/

the Ethereal version 0.99 source code contains more than 8,000 instances
of incrementing or decrementing by a hard-coded numeric constant, the
vast majority of which are adjusting a pointer or a length while stepping
through a buffer. Any instance of an incorrect constant can of course
result in an incorrect parsing of a protocol, but is not detectable at
compile-time since using the wrong numeric constant still type-checks.

Pang et al. on binpac
http://www.icir.org/vern/papers/binpac.IMC06.pdf
_______________________________________________
vox-tech mailing list
[email protected]
http://lists.lugod.org/mailman/listinfo/vox-tech

Reply via email to