cant break a stm32 exe

787562067 googcheng at qq.com
Wed Apr 3 07:48:17 UTC 2019


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


More information about the users mailing list