[Bug tdep/30386] Thumb flag on ARMv6 Mach-O ignored, symbols assumed to not be Thumb

hikari at noyu dot me sourceware-bugzilla@sourceware.org
Tue Apr 25 15:20:08 GMT 2023


https://sourceware.org/bugzilla/show_bug.cgi?id=30386

--- Comment #8 from hikari_no_yume <hikari at noyu dot me> ---
Huh, there's already a check for the relevant flag in opcodes/arm-dis.c:

      else if (bfd_asymbol_flavour (*info->symbols)
               == bfd_target_mach_o_flavour)
        {
          bfd_mach_o_asymbol *asym = (bfd_mach_o_asymbol *)*info->symbols;

          is_thumb = (asym->n_desc & BFD_MACH_O_N_ARM_THUMB_DEF);
        }

I wonder why it doesn't work, then…

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list