[RESEND PATCH 0/2] scripts/decode{code,_stacktrace} fixes

From: Marc Zyngier
Date: Mon Dec 10 2018 - 12:47:17 EST

Resending this, as there was hardly any feedback except for Will's
Ack. Andrew, can you please consider this?

Here's a couple of fixes that have been languishing in my tree for a
few months.

The first one is for an issue that can only be observed using
decodecode natively on arm/arm64m and resulting in a pretty useless
disassembly. The second one fixes the path trimming in
decode_stacktrace, and probably affects everyone.

Marc Zyngier (2):
scripts/decodecode: Set ARCH when running natively on arm/arm64
scripts/decode_stacktrace: Only strip base path when a prefix of the

scripts/decode_stacktrace.sh | 2 +-
scripts/decodecode | 7 +++++++
2 files changed, 8 insertions(+), 1 deletion(-)