kernel_decode_stack: Set ARCH in environment for decodecode

The decodecode script is called from the script and
it needs to have ARCH set so it knows which architecture to dump the
code in assembly form as. Otherwise the ARCH comes from uname -m, which
doesn't work well when running this for an ARM/ARM64 crash on an x86

TEST=kernel_decode_stack -b trogdor; see assembly make sense

Change-Id: I902a4a1a766e4beecbc382367b9ee42fbda3dd0a
Tested-by: Stephen Boyd <>
Auto-Submit: Stephen Boyd <>
Reviewed-by: Douglas Anderson <>
Reviewed-by: Pi-Hsun Shih <>
Commit-Queue: Pi-Hsun Shih <>
1 file changed