File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 2020
2121IFS=" " read -r ARCH ACK TRUSTY TRUSTY_TARGET < $GDB_FILE
2222
23+ TRUSTY_OUT=$OUT_DIR /trusty/build-$TRUSTY_TARGET
24+
2325if [[ " $ACK " -eq 1 ]]; then
2426 LINUX_OUT=$OUT_DIR /ack/common/$ARCH
27+ elif [[ " $TRUSTY " -eq 1 ]] then
28+ LINUX_OUT=$TRUSTY_OUT /linux-build
2529else
2630 LINUX_OUT=$OUT_DIR /linux/$ARCH
2731fi
2832
29- TRUSTY_OUT=$OUT_DIR /trusty/build-$TRUSTY_TARGET
30-
3133OUTPUT=$( mktemp)
3234cp " $GDBINIT " " $OUTPUT "
3335echo " Using gdbscript in $OUTPUT "
Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ if ##TRUSTY## == 1
1010 add-symbol-file ##TRUSTY_OUT##/atf/qemu/debug/bl2/bl2.elf 0x0
1111 add-symbol-file ##TRUSTY_OUT##/atf/qemu/debug/bl31/bl31.elf 0xe0a0000
1212 add-symbol-file ##TRUSTY_OUT##/lk.elf 0xe200000
13- endif
13+ end
You can’t perform that action at this time.
0 commit comments