configure: remove --enable-libusb0 option, rework libusb selection
[openocd.git] / testing / examples / ledtest-imx31pdk / gdbinit-imx31pdk
blob304a8d8992f011075e4ea82b0cdf87a0f0084d9f
1 echo Script to load ledtest on iMX31PDK.\n
3 # Note: you need to startup openocd with "-f board/imx31pdk.cfg"
4 # in order to it initialize RAM memory.
6 # SETUP GDB :
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 .
16 # CONNECT TO TARGET :
17 target remote 127.0.0.1:3333
19 #  LOAD IMAGE :
22 # Load the program executable called "u-boot"
23 load test.elf
25 # Load the symbols for the program.
26 symbol-file test.elf
28 # RUN TO MAIN :
30 # Set a breakpoint at main().
31 #b reset
32 b main
34 # Run to the breakpoint.