We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60752ba commit 7a3842cCopy full SHA for 7a3842c
scripts/gdb.sh
@@ -20,14 +20,16 @@ fi
20
21
IFS=" " read -r ARCH ACK TRUSTY TRUSTY_TARGET < $GDB_FILE
22
23
+TRUSTY_OUT=$OUT_DIR/trusty/build-$TRUSTY_TARGET
24
+
25
if [[ "$ACK" -eq 1 ]]; then
26
LINUX_OUT=$OUT_DIR/ack/common/$ARCH
27
+elif [[ "$TRUSTY" -eq 1 ]] then
28
+ LINUX_OUT=$TRUSTY_OUT/linux-build
29
else
30
LINUX_OUT=$OUT_DIR/linux/$ARCH
31
fi
32
-TRUSTY_OUT=$OUT_DIR/trusty/build-$TRUSTY_TARGET
-
33
OUTPUT=$(mktemp)
34
cp "$GDBINIT" "$OUTPUT"
35
echo "Using gdbscript in $OUTPUT"
scripts/gdbinit.gdb
@@ -10,4 +10,4 @@ if ##TRUSTY## == 1
10
add-symbol-file ##TRUSTY_OUT##/atf/qemu/debug/bl2/bl2.elf 0x0
11
add-symbol-file ##TRUSTY_OUT##/atf/qemu/debug/bl31/bl31.elf 0xe0a0000
12
add-symbol-file ##TRUSTY_OUT##/lk.elf 0xe200000
13
-endif
+end
0 commit comments