At least on ARMv7 gdb seems to be temporarily confused about what to show when stepping through nextInstruction(). Something like: (gdb) 352 addp advanceReg, PC (gdb) 334 loadb [PB, PC, 1], t0 (gdb) 1 # Copyright (C) 2011-2020 Apple Inc. All rights reserved. (gdb) 0xf625a814 1 # Copyright (C) 2011-2020 Apple Inc. All rights reserved. (gdb) 0xf625a816 1 # Copyright (C) 2011-2020 Apple Inc. All rights reserved. (gdb) 0xf625a818 1 # Copyright (C) 2011-2020 Apple Inc. All rights reserved. (gdb) 257 const BytecodePtrTag = constexpr BytecodePtrTag (gdb) 336 jmp [t1, t0, PtrSize], BytecodePtrTag, AddressDiversified (gdb) The code works fine, so this seems to be just a matter of showing the wrong thing to the user. Haven't tried this on other architectures.
<rdar://problem/75256922>