This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

debugging programme with parameters


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




 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]