cant break a stm32 exe

Ian Caddy ianc at goanna.iinet.net.au
Wed Apr 3 08:30:33 UTC 2019


Normally we would use 'c' instead of 'run'.

If you have downloaded your code, just use the c for continue for 
embedded processors.

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20190403/d1aa99a1/attachment-0002.html>


More information about the users mailing list