---

** [tickets:#173] "ThreadSetCurrentIp" sometime fails.**

**Status:** new
**Milestone:** 0.9.0
**Created:** Wed Jan 24, 2018 05:01 PM UTC by Artamonov Dmitry
**Last Updated:** Wed Jan 24, 2018 05:01 PM UTC
**Owner:** nobody


OCD 0.10.0. Reproduce stable, with chinese ST-LinkV2 dongle and STMF4Discovery 
build-in ST-LinkV2.
Debugee is STM32F1 and STM32F4 respectivelly. Gdb client is IDA Pro.

When i try to change IP debug session drops:
Debug: 7908 326686 gdb_server.c:2812 gdb_input_inner(): received packet: 
'Pf=6c0d0008'
Debug: 7909 326690 gdb_server.c:1298 gdb_set_register_packet(): -
Debug: 7910 326694 gdb_server.c:2812 gdb_input_inner(): received packet: 
'P19=20000041'
Debug: 7911 326703 gdb_server.c:1298 gdb_set_register_packet(): -
Error: 7912 326706 gdb_server.c:1320 gdb_set_register_packet(): gdb sent a 
packet with wrong register size
Debug: 7913 326715 gdb_server.c:1022 gdb_connection_closed(): GDB Close, 
Target: stm32f4x.cpu, state: halted, gdb_actual_connections=0
Debug: 7914 326725 target.c:1517 target_call_event_callbacks(): target event 6 
(gdb-end)
Debug: 7915 326729 target.c:1517 target_call_event_callbacks(): target event 24 
(gdb-detach)
Info : 7916 326737 server.c:503 server_loop(): dropped 'gdb' connection

In IDA:
Debugger: failed to update register value
Command "ThreadSetCurrentIp" failed

To reproduce need debug session some length. I.e. changing IP at first 
instructions works well, but some time later it fails.


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to