This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
debugging programme with parameters
- From: <delphiro at hetnet dot nl>
- To: <gdb at sources dot redhat dot com>
- Date: Wed, 1 May 2002 16:21:52 +0200
- Subject: 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