Re: Crash when setting BP on mem_ap target

2023-10-23 Thread Tomas Vanek
Hi Bohdan, On 23/10/2023 14:51, Bohdan Tymkiv wrote: Hello dear OpenOCD maintainers, While working with the mem_ap target I noticed that setting a breakpoint causes a crash in target_add_breakpoint because target->type->add_breakpoint is NULL. I discovered this by accident, just forgot to sw

Crash when setting BP on mem_ap target

2023-10-23 Thread Bohdan Tymkiv
Hello dear OpenOCD maintainers, While working with the mem_ap target I noticed that setting a breakpoint causes a crash in target_add_breakpoint because target->type->add_breakpoint is NULL. I discovered this by accident, just forgot to switch to the cortex_m before setting a breakpoint. It turne