This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/6515] New: fhpd command line args incorrect


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

-- 
           Summary: fhpd command line args incorrect
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: critical
          Priority: P1
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: hunt at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=6515

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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