debugging programme with parameters

delphiro@hetnet.nl delphiro@hetnet.nl
Wed May 1 07:22:00 GMT 2002


How do I debug a programma that takes parameters with it?

sample:
I use my programma as:

calc "3+(2-4)*5"

now I want to debug this programme with this input
but if I use 

gdb calc "3+(2-4)*5"

gdb thinks the last one is a path and will ignore the input

Thanks in advance!
Rob




 



More information about the Gdb mailing list