X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=testing%2Fexamples%2Fledtest-imx27ads%2Fgdbinit-imx27ads;h=4764bc73811bf1115762ed15048ba405f0aadc5d;hp=44758cf15552e8aca426be27e2d1fa6a5f3f58bd;hb=cb3f970b6c61d0643839f9261ddcce2b8664eac7;hpb=2e0f28149d46f128cf6851e76bf541f66b484fd5 diff --git a/testing/examples/ledtest-imx27ads/gdbinit-imx27ads b/testing/examples/ledtest-imx27ads/gdbinit-imx27ads index 44758cf155..4764bc7381 100644 --- a/testing/examples/ledtest-imx27ads/gdbinit-imx27ads +++ b/testing/examples/ledtest-imx27ads/gdbinit-imx27ads @@ -1,36 +1,36 @@ -echo Script to load ledtest on iMX27ADS.\n - -# Note: you need to startup openocd with "-f board/imx27ads.cfg" -# in order to it initialize RAM memory. - -# SETUP GDB : -# -# Common gdb setup for ARM CPUs -set complaints 1 -set output-radix 10 -set input-radix 10 -set prompt (arm-gdb) -set endian little -dir . - -# CONNECT TO TARGET : -target remote 127.0.0.1:3333 - -# LOAD IMAGE : -# - -# Load the program executable called "u-boot" -load test.elf - -# Load the symbols for the program. -symbol-file test.elf - -# RUN TO MAIN : -# -# Set a breakpoint at main(). -#b reset -b main - -# Run to the breakpoint. -c - +echo Script to load ledtest on iMX27ADS.\n + +# Note: you need to startup openocd with "-f board/imx27ads.cfg" +# in order to it initialize RAM memory. + +# SETUP GDB : +# +# Common gdb setup for ARM CPUs +set complaints 1 +set output-radix 10 +set input-radix 10 +set prompt (arm-gdb) +set endian little +dir . + +# CONNECT TO TARGET : +target remote 127.0.0.1:3333 + +# LOAD IMAGE : +# + +# Load the program executable called "u-boot" +load test.elf + +# Load the symbols for the program. +symbol-file test.elf + +# RUN TO MAIN : +# +# Set a breakpoint at main(). +#b reset +b main + +# Run to the breakpoint. +c +