AnsweredAssumed Answered

gdb SIGTRAP

Question asked by Sam on Jan 31, 2013
Latest reply on Feb 1, 2013 by Sam
Hi,

I have a problem for the second time, I don't know why but hardware breakpoint, sometimes, still in stm and I can't delete it.

I use OpenOCD 0.6.1 and gdb

This is my gdb log :
lucky@srv-dev:~/Devel/Stm32/FreeRTOSV7.3.0/FreeRTOS/Demo/PLSee$ arm-none-eabi-gdb ./PLSee.axf
GNU gdb (Linaro GDB) 7.5-2012.12-1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-none-eabi".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/lucky/Devel/Stm32/FreeRTOSV7.3.0/FreeRTOS/Demo/PLSee/PLSee.axf...done.
(gdb) target remote :3333
Remote debugging using :3333
chart_line_serie_draw () at ../../chartlib/chart_line_serie.c:332
332     if (m_bShadow || m_bSmooth)
(gdb) c
Continuing.
 
Program received signal SIGTRAP, Trace/breakpoint trap.
chart_line_serie_draw () at ../../chartlib/chart_line_serie.c:332
332     if (m_bShadow || m_bSmooth)
(gdb)

and OpenOCD :
> reset halt                         
JTAG tap: stm32f4x.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)
JTAG tap: stm32f4x.bs tap/device found: 0x06413041 (mfg: 0x020, part: 0x6413, ver: 0x0)
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080249cc msp: 0x20020000
> flash probe 0                      
device id = 0x10016413
flash size = 1024kbytes
flash 'stm32f2x' found at 0x08000000
> flash write_image erase PLSee.axf  
auto erase enabled
wrote 262144 bytes from file PLSee.axf in 8.714481s (29.376 KiB/s)
> reset                           
JTAG tap: stm32f4x.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)
JTAG tap: stm32f4x.bs tap/device found: 0x06413041 (mfg: 0x020, part: 0x6413, ver: 0x0)
target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x0801679a psp: 0x20001640
accepting 'gdb' connection from 3333
acknowledgment received, but no packet pending
>

I haven't found usefull information about that. What can I do ?
The last time, the problem disappear after many upload, but I don't know why..

Outcomes