public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/6515] New: fhpd command line args incorrect
@ 2008-05-13 16:26 hunt at redhat dot com
  2008-05-14 14:30 ` [Bug general/6515] " rmoseley at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: hunt at redhat dot com @ 2008-05-13 16:26 UTC (permalink / raw)
  To: frysk-bugzilla

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug general/6515] fhpd command line args incorrect
  2008-05-13 16:26 [Bug general/6515] New: fhpd command line args incorrect hunt at redhat dot com
@ 2008-05-14 14:30 ` rmoseley at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: rmoseley at redhat dot com @ 2008-05-14 14:30 UTC (permalink / raw)
  To: frysk-bugzilla



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|frysk-bugzilla at sourceware|rmoseley at redhat dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-14 14:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-13 16:26 [Bug general/6515] New: fhpd command line args incorrect hunt at redhat dot com
2008-05-14 14:30 ` [Bug general/6515] " rmoseley at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).