)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"080a7c7e90452c642f110ee6e0c27abcecfbdf63","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":1,"id":"4514764f_f70e5c39","updated":"2025-03-09 18:50:42.000000000","message":"Please explain your use case and what is the important code that should be triggered and is currently not triggered.\n\nOpenOCD triggers the halted events when the CPU pass from running to halted.\nThis is completely independent from the connection of GDB.\n\nThe only event that is triggered by GDB attach is `TARGET_EVENT_GDB_ATTACH`, that has a default implementation `\"halt 1000\"`.\nIf you  have any custom code that has to be run at GDB attach, you can override the default `gdb-attach` with your own code. But remember that GDB expects the target halted, so always keep `\"halt 1000\"` in your custom `gdb-attach` implementation.","commit_id":"67ae60d752d2678cb7697b0e9103046ff97f35ec"}],"src/target/aarch64.c":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"080a7c7e90452c642f110ee6e0c27abcecfbdf63","unresolved":true,"context_lines":[{"line_number":985,"context_line":""},{"line_number":986,"context_line":"\t/* Mark the context as dirty this we will modify internal registers of the core. */"},{"line_number":987,"context_line":"\taarch64-\u003econtext_dirty \u003d true;"},{"line_number":988,"context_line":""},{"line_number":989,"context_line":"\t/* make sure to clear all sticky errors */"},{"line_number":990,"context_line":"\tretval \u003d mem_ap_write_atomic_u32(armv8-\u003edebug_ap,"},{"line_number":991,"context_line":"\t\t\tarmv8-\u003edebug_base + CPUV8_DBG_DRCR, DRCR_CSE);"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"cb492aba_8875496a","line":988,"updated":"2025-03-09 18:50:42.000000000","message":"This added empty line is not part of this patch. Drop it!","commit_id":"67ae60d752d2678cb7697b0e9103046ff97f35ec"}]}
