diff options
author | Alan Modra <amodra@gmail.com> | 2023-03-06 10:42:22 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-03-06 10:42:22 +1030 |
commit | a734d906cc0e0d3f32705e67b72e7113c69890d6 (patch) | |
tree | 81241663b72aceea2f6abf06f17761239c99608c /gdb/python/lib | |
parent | ec95986dc23f3f3c55beb945516a0008a526e772 (diff) | |
download | binutils-a734d906cc0e0d3f32705e67b72e7113c69890d6.zip binutils-a734d906cc0e0d3f32705e67b72e7113c69890d6.tar.gz binutils-a734d906cc0e0d3f32705e67b72e7113c69890d6.tar.bz2 |
Correct objdump command line error handling
bfd_nonfatal is used when a bfd error is to be printed. That's not
the case for command line errors.
* objdump.c (nonfatal): Rename to my_bfd_nonfatal.
(main): Use non_fatal and call usage on unrecognized arg errors.
Don't set exit_status when calling usage.
Diffstat (limited to 'gdb/python/lib')
0 files changed, 0 insertions, 0 deletions