This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Question
- From: wim delvaux <wim dot delvaux at adaptiveplanet dot com>
- To: Yaning Gao <YGao at JNI dot com>,gdb at sources dot redhat dot com
- Date: Mon, 19 May 2003 18:35:11 +0200
- Subject: Re: Question
- References: <7A19797C027A6D449D68329C2A094EA0085757@MUSTANG>
menu -> program -> run and fill in your command line arguments
On Monday 19 May 2003 18:29, Yaning Gao wrote:
> 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