aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJerome Forissier <jerome.forissier@linaro.org>2018-10-02 10:12:32 +0200
committerJérôme Forissier <jerome.forissier@linaro.org>2018-10-02 12:58:15 +0200
commitf9089765b4360daae4ab64fd150638c81d805e95 (patch)
tree7baaa1328f6d8d9c08da8def78611f4618427fcd /scripts
parentd7ef63347f08c72bfa56b37d819b6b49acff7a10 (diff)
scripts/symbolize.py: add help text
Document how the binutils tools (addr2line etc.) are found. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/symbolize.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/symbolize.py b/scripts/symbolize.py
index f7806c0f..0e554ebd 100755
--- a/scripts/symbolize.py
+++ b/scripts/symbolize.py
@@ -31,7 +31,12 @@ call stack can in principle be processed by this script. This currently
includes aborts and panics from the TEE core as well as from any TA.
The paths provided on the command line are used to locate the appropriate ELF
binary (tee.elf or Trusted Application). The GNU binutils (addr2line, objdump,
-nm) are used to extract the debug info.
+nm) are used to extract the debug info. If the CROSS_COMPILE environment
+variable is set, it is used as a prefix to the binutils tools. That is, the
+script will invoke $(CROSS_COMPILE)addr2line etc. If it is not set however,
+the prefix will be determined automatically for each ELF file based on its
+architecture (arm-linux-gnueabihf-, aarch64-linux-gnu-). The resulting command
+is then expected to be found in the user's PATH.
OP-TEE abort and panic messages are sent to the secure console. They look like
the following: