This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
debugging programs with command line arguements
- To: insight at sources dot redhat dot com
- Subject: debugging programs with command line arguements
- From: jcunningham at dotcast dot com
- Date: Sat, 10 Nov 2001 17:49:55 -0800
Hi
I'm trying to debug a program with a long list of command line arguements. I
know I can enter them via the targets menu. Is there a way to put a line in
the local .gdbinit (local to my executable) that will automate this so I
don't have to do it everytime I start debugging this code? Here's a list of
stuff I tried inside .gdbinit:
set args <arg1> <arg2> ...
set target exec <arg1> <arg2> ...
set gnutarget <arg1> <arg2> ...
Thanks
J. Cunningham