This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
debugging a program that takes command line args
- To: Insight Mailing List <insight at sourceware dot cygnus dot com>
- Subject: debugging a program that takes command line args
- From: Adam Schuetze <adam at adam-schuetze dot org>
- Date: Sat, 11 Nov 2000 15:15:00 -0800
Hi all,
I'd like to be able to use insight to debug programs that take
command line arguements, but I cannot discover how to do this.
I have tried things like:
gdb test_program arg1 arg2 arg3
but the args are ignored.
How is this done?
thanks,
--
Adam Schuetze <adam@adam-schuetze.org>
Get my pgp keys at http://www.adam-schuetze.org
- pgp fingerprints -
rsa: B8 80 DA D6 BB CA 80 5F C5 68 1C 08 FE 3E 65 1C
dss: 46 CB B3 C3 A1 C9 BA 57 7C B4 A1 6A BF 8F 2D 95 2B 7A 1D 77