mode processor mode switch

Jirka Koutný <[email protected]> Tue, 14 Jan 2020 11:58:58 +0000
Newsgroups gmane.comp.gdb.devel,gmane.comp.gdb.general
Message-ID <CAH5nFm_YHzHbk6GL_BEisrcVm5M=dW7NxjiyObTHPR5W+pALew@mail.gmail.com>
Hello,

I have a 32-bit elf executable which at some point switches to long mode
(kernel is 64-bit). Is there a way to tell gdb about the .code32/64
directives? Because expectedly the switch messes up disassembly and
stepping.

Thank you
Jirka