]> sourceware.org Git - newlib-cygwin.git/commit
* strace.cc (main): Change getopt() to getopt_long().
authorCorinna Vinschen <corinna@vinschen.de>
Sat, 17 Nov 2001 09:48:09 +0000 (09:48 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Sat, 17 Nov 2001 09:48:09 +0000 (09:48 +0000)
commit33f0f67db7ec201294f579e789264cdd302bef7f
tree49ff94f695fa32dbfed4f116fcf54ad00dc0eb4d
parent42d292493b437a723391714733c1714f386ce36f
* 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.
winsup/utils/ChangeLog
winsup/utils/strace.cc
This page took 0.031034 seconds and 5 git commands to generate.