in reply to Re: Trying to track a sleeping CGI request with gdb
in thread Trying to track a sleeping CGI request with gdb
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Trying to track a sleeping CGI request with gdb
by nagakiran (Initiate) on Apr 20, 2010 at 19:53 UTC |