Bug 3773

Summary: ftrace parsing the program's arguments
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: ASSIGNED ---    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2245    

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