Yes, but gdb expects after the program name, a core dump file, or a pid.
So to pass arguments to the executable, you need to run it from within gdb as such:
$ gdb /usr/bin/perl ... .. (gdb) run /path/to/cgi-bin/script.cgi
In reply to Re^2: Trying to track a sleeping CGI request with gdb
by Chady
in thread Trying to track a sleeping CGI request with gdb
by talexb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |