diff options
author | Jan Beulich <jbeulich@suse.com> | 2024-08-30 11:22:41 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2024-08-30 11:22:41 +0200 |
commit | 91fa2ea2213d3e9e53080f534ba60026d9a93916 (patch) | |
tree | 89f836cb4aee62a035d22f80f5e41daf78e26501 /gdb | |
parent | 4f14f47e0ce4c95f50f36fbf7b01ad1ecf136d38 (diff) | |
download | binutils-91fa2ea2213d3e9e53080f534ba60026d9a93916.zip binutils-91fa2ea2213d3e9e53080f534ba60026d9a93916.tar.gz binutils-91fa2ea2213d3e9e53080f534ba60026d9a93916.tar.bz2 |
gas: properly check for ELF in LISTING_NODEBUG handling
While OBJ_MAYBE_ELF presently implies OBJ_ELF (due to obj-multi.h
including obj-elf.h for obscure reasons), there still need to be IS_ELF
checks to cover for the OBJ_MAYBE_ELF case. Note, however, that code
checking for ->debugging being true doesn't need such extra checks, as
the field can only ever be true when IS_ELF.
On the same basis reduce #ifdef-ary in debugging_pseudo().
Also move the field (into what on 64-bit architectures is a 32-bit gap)
and put it inside an OBJ_ELF conditional, too.
While there further switch int to bool in related code.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions