cant break a stm32 exe

Gedare Bloom gedare at rtems.org
Wed Apr 3 14:10:33 UTC 2019


On Wed, Apr 3, 2019 at 4:30 AM Ian Caddy <ianc at goanna.iinet.net.au> wrote:
>
> Normally we would use 'c' instead of 'run'.
>
> If you have downloaded your code, just use the c for continue for embedded processors.
>

You might also step through the boot and RTEMS initialization
sequence. A lot happens before "Init" gets hit. I guess there is some
fatal error occurring

> regards,
>
> Ian Caddy
>
>
> On 3/04/2019 3:48 pm, 787562067 wrote:
>
> hi, guys, how to debug this case
>
>
> Loading section .init, size 0xc vma 0x125ec
> Loading section .fini, size 0xc vma 0x125f8
> Loading section .rodata, size 0x16b8 vma 0x12608
> Loading section .ARM.exidx, size 0x8 vma 0x13cc0
> Loading section .eh_frame, size 0x3c vma 0x13cc8
> Loading section .init_array, size 0x4 vma 0x13d04
> Loading section .fini_array, size 0x4 vma 0x13d08
> Loading section .jcr, size 0x4 vma 0x13d0c
> Loading section .data, size 0x6ac vma 0x20001188
> Start address 0x189
> Transfer rate: 662944 bits in <1 sec.
> (gdb) info b
> No breakpoints or watchpoints.
> (gdb) b Init
> Breakpoint 1 at 0x3cc: file ../../../../../../../rtems-4.11.3/c/src/../../testsuites/samples/hello/init.c, line 168.
> (gdb) run
> Starting program: /home/cheng/stm32f4/arm-rtems4.11/c/stm32f4/testsuites/samples/hello/hello.exe
> [Inferior 1 (process 42000) exited normally]
> (gdb) n
> The program is not being run.
>
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users


More information about the users mailing list