)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"change_message_id":"9624de16be99ea381d9c20eec0470125d8bd6501","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"62c4dc6b_6cfbdc8f","updated":"2021-12-13 20:09:47.000000000","message":"I found that with this workaround gdb infinitely loop when lockup triggers during gdb \u0027step\u0027:\n\n (gdb) s\n 72                      double_fault_dest\u003d *double_fault_src;\n (gdb) s\n Refusing to set breakpoint at 0xeffffffe, in not-execute area\n can\u0027t add breakpoint: invalid address\n Refusing to set breakpoint at 0xeffffffe, in not-execute area\n can\u0027t add breakpoint: invalid address\n Refusing to set breakpoint at 0xeffffffe, in not-execute area\n can\u0027t add breakpoint: invalid address\n\nCtrl-C stops that loop, but certainly not neat...\nWe would need a workaround on workaround, check for PC is magic before step.\nI\u0027d better give up.","commit_id":"ebcafdeddd636da03c1ea67fcca95ef1c088620b"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"56e305ebaaa467e9772ec1a4fc9189dc87413e63","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"f2ae610e_243ba591","updated":"2021-12-12 22:06:55.000000000","message":"Tarek is working on fixing some magic address handling in GDB, but this would be eventually fixed in future versions, so let\u0027s go ahead with this patch.\n","commit_id":"ebcafdeddd636da03c1ea67fcca95ef1c088620b"},{"author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"change_message_id":"be6d62c4c97ea93a47834d90c755fa120805f951","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"48b9af45_2a5399e6","updated":"2021-12-10 20:31:12.000000000","message":"https://sourceware.org/bugzilla/show_bug.cgi?id\u003d28683\n","commit_id":"ebcafdeddd636da03c1ea67fcca95ef1c088620b"}],"src/server/gdb_server.c":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"56e305ebaaa467e9772ec1a4fc9189dc87413e63","unresolved":true,"context_lines":[{"line_number":1753,"context_line":"\t\t\t\t/*"},{"line_number":1754,"context_line":"\t\t\t\t * GDB bug workaround:"},{"line_number":1755,"context_line":"\t\t\t\t * \u0027advance\u0027 and \u0027until\u0027 commands do not handle EXC_RETURN magic"},{"line_number":1756,"context_line":"\t\t\t\t * in LR register and try to set breakpoint at magic address."},{"line_number":1757,"context_line":"\t\t\t\t * Propagation of the error to GDB would prevent target"},{"line_number":1758,"context_line":"\t\t\t\t * from run. Just ignore the error."},{"line_number":1759,"context_line":"\t\t\t\t */"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"41a84fba_8f64394f","line":1756,"updated":"2021-12-12 22:06:55.000000000","message":"the part of comment above is really Cortex-M specific. Should not be in this file.\nIt would be ok if you reformulate it as, e.g.:\nSome target use \"magic\" addresses to signal special or illegal cases. If GDB does not handle them, it can trigger GDB to request breakpoints that cannot be set. E.g. with Cortex-M the GDB commands \u0027advance\u0027 and \u0027until\u0027 do not handle EXC_RETURN magic in LR register and try to set breakpoint at magic address.","commit_id":"ebcafdeddd636da03c1ea67fcca95ef1c088620b"},{"author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"change_message_id":"9624de16be99ea381d9c20eec0470125d8bd6501","unresolved":true,"context_lines":[{"line_number":1753,"context_line":"\t\t\t\t/*"},{"line_number":1754,"context_line":"\t\t\t\t * GDB bug workaround:"},{"line_number":1755,"context_line":"\t\t\t\t * \u0027advance\u0027 and \u0027until\u0027 commands do not handle EXC_RETURN magic"},{"line_number":1756,"context_line":"\t\t\t\t * in LR register and try to set breakpoint at magic address."},{"line_number":1757,"context_line":"\t\t\t\t * Propagation of the error to GDB would prevent target"},{"line_number":1758,"context_line":"\t\t\t\t * from run. Just ignore the error."},{"line_number":1759,"context_line":"\t\t\t\t */"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"1835bc54_51d4925b","line":1756,"in_reply_to":"41a84fba_8f64394f","updated":"2021-12-13 20:09:47.000000000","message":"Good point. I was too fast with copy\u0026paste the comment from cortex_m.h","commit_id":"ebcafdeddd636da03c1ea67fcca95ef1c088620b"}]}
