Re: [PATCH v1 1/1] scripts/decodecode: Decode 32-bit code correctly on x86_64

From: Borislav Petkov
Date: Fri Mar 05 2021 - 17:20:27 EST


On Fri, Mar 05, 2021 at 08:39:48PM +0200, Andy Shevchenko wrote:
> On x86_64 host the objdump uses current architecture which is 64-bit
> and hence decodecode shows wrong instructions.
>
> Fix it by supplying '-M i386' in case of ARCH i?86 or x86.

At the beginning of the script says:

# e.g., to decode an i386 oops on an x86_64 system, use:
# AFLAGS=--32 decodecode < 386.oops

What kind of oops are you decoding such that that doesn't work for you?

Thx.

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg