openocd/src
Antonio Borneo c69b4deae3 gdb_server: fix HW thread status at gdb attach
At gdb attach, the event TARGET_EVENT_GDB_ATTACH is in charge of
halting the target.
For HW thread, rtos_update_threads() should be called after the
event to detect and record the new 'halted' status. Instead it is
called immediately before the event, thus reading the status
before the halt.

Move after the event the call to rtos_update_threads().

Change-Id: Iab3480ea0f5283ed6580f0f6c11200083197d1e9
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5983
Tested-by: jenkins
2020-12-26 15:48:17 +00:00
..
flash Correct warning message 2020-12-26 15:47:31 +00:00
helper jep106: Add new IDs from JEDEC 2020-12-05 23:17:48 +00:00
jtag jtag/drivers/ulink: auto-detect OpenULINK USB endpoints numbers 2020-12-09 14:29:57 +00:00
pld openocd: use proper format with uint32_t 2020-09-05 17:12:44 +01:00
rtos rtos/hwthread: fix register list for armv7a 2020-12-26 15:47:55 +00:00
rtt Add initial RTT support 2020-12-02 23:15:52 +00:00
server gdb_server: fix HW thread status at gdb attach 2020-12-26 15:48:17 +00:00
svf openocd: fix command's usage string 2020-09-05 17:13:10 +01:00
target cortex-a: fix reset on dapdirect transports 2020-12-26 15:47:48 +00:00
transport build: fix build with --enable-minidriver-dummy 2020-11-07 20:53:39 +00:00
xsvf openocd: avoid checking for non NULL pointer to free it 2020-09-05 17:11:50 +01:00
hello.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
Makefile.am Add initial RTT support 2020-12-02 23:15:52 +00:00
openocd.c Add initial RTT support 2020-12-02 23:15:52 +00:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00