[PATCH] Mask mnemonics and expressions, help, version, getopts_long() for strace

Gary R. Van Sickle g.r.vansickle@worldnet.att.net
Sat Oct 13 00:24:00 GMT 2001


12th time's the charm;-)!:

2001-11-15  Gary R. Van Sickle  <g.r.vansickle@worldnet.att.net>

	* strace.cc (main): Change getopt() to getopt_long().
	Add support for help and version info.
	Use new parse_mask() function for -m/--mask option.
	(longopts): Add long options structure.
	(opts): Move options string from getopts call to static var.
	(usage): Print usage information.
	(SCCSid): Version info.
	(version): New function for displaying version info.
	(parse_mask): New function supporting parsing of mnemonics,
	hex, and basic expressions in masks.
	(mnemonic2ul): New mnemonic parsing function.
	(tag_mask_mnemonic): New type.
	(mnemonic_table): New table of mnemonics for mnemonic2ul() to
	search through.

-- 
Gary R. Van Sickle
Brewer.  Patriot. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strace.cc-patch
Type: application/octet-stream
Size: 8034 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20011013/8764026c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strace.cc-changelog
Type: application/octet-stream
Size: 689 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20011013/8764026c/attachment-0001.obj>


More information about the Cygwin-patches mailing list