This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Question
- From: Yaning Gao <YGao at JNI dot com>
- To: gdb at sources dot redhat dot com
- Date: Mon, 19 May 2003 09:29:02 -0700
- Subject: Question
Hi,
Dose anyone can answer me a very basic question about how to debug a program
with argument by using ddd. Such as I want to debug a program called AAA:
void aaa(argc, argv)
{
...
}
How can I put argc and argv into DDD with AAA?
Can I do:
ddd AAA(1, 2, 3,4)?
I certainly can not, but I just couldn't find anywhere to tell me how in the
DDD document.
Thanks,
Ning