)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"change_message_id":"7d3c873d8f40c880233070219d4d176e30d7fc54","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":2,"id":"9562bcf4_fd7b25f6","updated":"2025-06-14 09:31:01.000000000","message":"I have observed some strange output for `reset halt` which I traced back to this patch.\n\nBefore this patch, I get the following output for `reset halt`:\n```\nOpen On-Chip Debugger\n\u003e reset halt\n[efm32.cpu] halted due to debug-request, current mode: Thread \nxPSR: 0x01000000 pc: 0x00002fa4 msp: 0x20008000\n```\nThe reason here is `debug-request` which, in my understanding, is correct.\n\nAfter this patch, I get the following output:\n\n```\nOpen On-Chip Debugger\n\u003e reset halt\n[efm32.cpu] halted due to breakpoint, current mode: Thread \nxPSR: 0x01000000 pc: 0x00002fa4 msp: 0x20008000\n```\n\nThe reason now is `breakpoint` which seems wrong to me.\n\nI can\u0027t imagine that nobody has noticed this yet, but it seems a bug to me. Any idea / comment on this?\n\nTested on EFM32GG development board but can be reproduced with other Cortex-M devices, of course.","commit_id":"226085065bdfdfd44bfadbfb2973971ff154eb22"},{"author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"change_message_id":"f4bbbf7548c0ebf8810cdf38c2f40f97dc32e97e","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":2,"id":"ce017e37_e28e30a2","in_reply_to":"9562bcf4_fd7b25f6","updated":"2025-06-14 10:34:16.000000000","message":"Indeed! Thanks for good catch! Please test\n8945: target/cortex_m: fix debug reason after reset halt | https://review.openocd.org/c/openocd/+/8945","commit_id":"226085065bdfdfd44bfadbfb2973971ff154eb22"},{"author":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"change_message_id":"057319c566c66e66f6a5fd7b8388f9d57425e6a6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"453ff984_39ae6f02","in_reply_to":"ce017e37_e28e30a2","updated":"2025-06-14 11:42:12.000000000","message":"Works as expected, thanks for the quick fix!\nThis issue was detected by automatic testing framework btw.","commit_id":"226085065bdfdfd44bfadbfb2973971ff154eb22"}]}
