This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
`objdump --disassemble-all no-such-file' exits successfully
- To: binutils@sourceware.cygnus.com
- Subject: `objdump --disassemble-all no-such-file' exits successfully
- From: Jim Meyering <meyering@ascend.com>
- Date: 12 Jul 1999 15:06:52 +0200
Hi,
Although `objdump --disassemble-all no-such-file' correctly diagnoses
the problem, it exits successfully when the specified file doesn't exist:
$ objdump --disassemble-all no-such-file
objdump: no-such-file: No such file or directory
$
It should exit nonzero instead.
$ objdump --version
GNU objdump 2.9.1
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.