[Bug default/27595] New: dwz -o outfile with implicit file argument
vries at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Wed Mar 17 13:26:13 GMT 2021
https://sourceware.org/bugzilla/show_bug.cgi?id=27595
Bug ID: 27595
Summary: dwz -o outfile with implicit file argument
Product: dwz
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: default
Assignee: nobody at sourceware dot org
Reporter: vries at gcc dot gnu.org
CC: dwz at sourceware dot org
Target Milestone: ---
Consider this session:
...
$ rm -f a.out b.out
$ gcc ~/hello.c -g
$ ls a.out
a.out
$ dwz -o b.out
$ ls b.out
b.out
$
...
The advertised usage looks like this:
...
$ ./dwz -?
Usage:
./dwz [common options] [-h] [-m COMMONFILE] [-M NAME | -r] [FILES]
./dwz [common options] -o OUTFILE FILE
./dwz [ -v | -? ]
...
But the actual dwz use we did above suggests instead:
...
./dwz [common options] -o OUTFILE [ FILE ]
...
So, we should either update the advertised usage, or require an explicit file
when using -o.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Dwz
mailing list