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]

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


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