target/xtensa: fix clang analyzer warnings
[fw/openocd] / testing / examples / ledtest-imx27ads / gdbinit-imx27ads
1 echo Script to load ledtest on iMX27ADS.\n
2
3 # Note: you need to startup openocd with "-f board/imx27ads.cfg"
4 # in order to it initialize RAM memory.
5
6 # SETUP GDB :
7 #
8 # Common gdb setup for ARM CPUs
9 set complaints 1
10 set output-radix 10
11 set input-radix 10
12 set prompt (arm-gdb)
13 set endian little
14 dir .
15
16 # CONNECT TO TARGET :
17 target remote 127.0.0.1:3333
18
19 #  LOAD IMAGE :
20 #
21
22 # Load the program executable called "u-boot"
23 load test.elf
24
25 # Load the symbols for the program.
26 symbol-file test.elf
27
28 # RUN TO MAIN :
29 #
30 # Set a breakpoint at main().
31 #b reset
32 b main
33
34 # Run to the breakpoint.
35 c