Lines Matching +full:- +full:t

3 # Copyright (c) 2020-2022 Arm Limited
9 # http://www.apache.org/licenses/LICENSE-2.0
25 …INSTR=$($GDB $AXF_FILE --batch -ex "disassemble $SKIP_ADDRESS" | grep "^ *$SKIP_ADDRESS" | sed "s/…
27 …LINE=$($GDB $AXF_FILE --batch -ex "info line *$SKIP_ADDRESS" | sed "s/Line \([0-9]*\).*\"\(.*\)\".…
30 # don't run the test
35 # Print out the meta-info about the test, in YAML
36 echo "- skip_test:"
41 # echo -ne "$SKIP_ADDRESS | $INSTR...\t"
67 echo -n '.' 1>&2
72 rm -f $QEMU_PID_FILE $QEMU_LOG_FILE
73 /usr/bin/qemu-system-arm \
74 -M mps2-an521 \
75 -s -S \
76 -kernel $AXF_FILE \
77 -device loader,file=$TFM_IMAGE_PATH,addr=0x10080000 \
78 -chardev file,id=char0,path=$QEMU_LOG_FILE \
79 -serial chardev:char0 \
80 -display none \
81 -pidfile $QEMU_PID_FILE \
82 -daemonize
88 kill -9 `cat $QEMU_PID_FILE`
93 if cat $QEMU_LOG_FILE | grep -i "Starting bootloader" &>/dev/null; then
95 if cat gdb_out.txt | grep -i "Stopped at breakpoint" &>/dev/null; then
97 if cat $QEMU_LOG_FILE | grep -i "Secure image initializing" &>/dev/null; then
105 … arm-none-eabi-objdump -d $AXF_FILE --start-address=$SKIP_ADDRESS -S | tail -n +7 | head -n 14 1>&2
109 LAST_LINE=`tail -n 1 $QEMU_LOG_FILE | tr -dc '[:print:]'`
119 if cat $QEMU_LOG_FILE | grep -i "Secure image initializing" &>/dev/null; then
120 # The image booted, although it shouldn't happen as the test is to
125 # the execution didn't stop at the address (e.g. the instruction
142 echo "$0 <image_dir> <start_addr> [<end_addr>] [(-s | --skip) <skip_len>]"
148 GDB=gdb-multiarch
152 while [[ $# -gt 0 ]]; do
154 -s|--skip)
159 -h|--help)
164 if test -z "$IMAGE_DIR"; then
166 elif test -z "$START"; then
168 elif test -z "$END"; then
180 if test -z "$IMAGE_DIR"; then
185 if test -z "$START"; then
190 if test -z "$END"; then
194 if test -z "$SKIP"; then
198 # Create the start-end address range (step 2)