This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


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

debugging programs with command line arguements


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


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