Bug 3773 - ftrace parsing the program's arguments
Summary: ftrace parsing the program's arguments
Status: ASSIGNED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 2245
  Show dependency treegraph
 
Reported: 2006-12-20 18:29 UTC by Andrew Cagney
Modified: 2006-12-20 20:06 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2006-12-20 18:29:06 UTC
E.g.,

y$ ~/prefix/bin/ftrace ~/prefix/lib64/frysk/funit --arch 32 frysk.proc.TestAbandon
ftrace: unrecognized option '--arch'
ftrace: Try 'ftrace -help' for more information

this is something for a dejagnu test
Comment 1 Nurdin Premji 2006-12-20 18:50:58 UTC
Currently the option parser only works in a greedy mode looking for anything
that resembles an option. Will start working on a patch to stop after first
non-option.
Comment 2 Andrew Cagney 2006-12-20 19:00:32 UTC
For moment, file bug upsream, and document this feature.
Comment 3 Nurdin Premji 2006-12-20 20:06:46 UTC
Created bug upstream:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30270