This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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 translator/6470] export command line arguments or run-time script parsing


------- Additional Comments From fche at redhat dot com  2008-04-30 22:47 -------
Actually, the _ARGV[]/_ARGC global pair can be synthesized entirely
in terms of the comment #2 preprocessor directives, in a tapset:

global _ARGV, _ARGC

probe begin {
   %( argc == 0 %? _ARGC=0 %:
   %( argc == 1 %? _ARGC=1; _ARGV[1]=@1 %:
   .....
   %) %)



-- 


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

------- 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]