man page says fhpd [options] {program arg ... | pid... | core-file [ core-executable ]... } > cat args.c #include<stdio.h> int main(int argc, char *argv[]) { int i; for (i=0; i < argc; i++) printf("argv[%d] = %s\n", i, argv[i]); } > gcc -g -o args args.c > ./args 20 30 40 argv[0] = ./args argv[1] = 20 argv[2] = 30 argv[3] = 40 > fhpd ./args 20 30 40 [0.0] Loaded executable file: /home/hunt/test/args (fhpd) run running with this commmand: /home/hunt/test/args Attached to process 8757 Running process 8757 (fhpd) argv[0] = /home/hunt/test/args argv[1] = /home/hunt/test/args Task 8757 is exiting with status 2 (fhpd) quit
It turns out this is an enhancement request. We added the capability to pass args a while back using the start/run commands. The way you can do this now is: $ ./fhpd ./args (fhpd) start 20 30 40 starting with this command: path-to-args/args 20 30 40 Attached to process ????? (fhpd) Note that "start" in the above example could be replaced with "run". This is a good idea though and looks to be pretty intuitive. I'll see if I can add it. Thanks Martin.
Fixed in frysk git HEAD.
*** Bug 6536 has been marked as a duplicate of this bug. ***