diff options
author | Matthias Welwarsky <matthias.welwarsky@sysgo.com> | 2018-03-05 14:50:51 +0100 |
---|---|---|
committer | Matthias Welwarsky <matthias@welwarsky.de> | 2018-03-16 08:57:20 +0000 |
commit | 935f0c5cc28a3a2cc627ff25b30d65d8d82ad8c4 (patch) | |
tree | 1526297594fb1ccc7aee4b451c0bdecdc4856c55 /src/target/armv8_dpm.c | |
parent | cbf7889873c16e80109ee7d46995a0adf08af84c (diff) | |
download | riscv-openocd-935f0c5cc28a3a2cc627ff25b30d65d8d82ad8c4.zip riscv-openocd-935f0c5cc28a3a2cc627ff25b30d65d8d82ad8c4.tar.gz riscv-openocd-935f0c5cc28a3a2cc627ff25b30d65d8d82ad8c4.tar.bz2 |
gdb_server: fake step if thread is not current rtos thread
gdb assumes that a rtos can make any thread active at will in response
to a 'Hg' packet. It further assumes that it needs to step-over after
setting a breakpoint on frame #0 of any non-current thread. Both
assumptions are not valid for an actual rtos. We fake the step-over to
not trigger an internal error in gdb. See
https://sourceware.org/bugzilla/show_bug.cgi?id=22925 for details.
Change-Id: Ida60cd134033c1d58ada77b87fe664a58f61e2c0
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
Reviewed-on: http://openocd.zylin.com/4448
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Diffstat (limited to 'src/target/armv8_dpm.c')
0 files changed, 0 insertions, 0 deletions