Question

Yaning Gao YGao@JNI.com
Mon May 19 16:29:00 GMT 2003


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



More information about the Gdb mailing list