)]}'
{"src/target/startup.tcl":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"d72031bfeb56336535e404536d43fcd3d32cfd57","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":"\t# If this target must be halted..."},{"line_number":33,"context_line":"\tset halt -1"},{"line_number":34,"context_line":"\tif { [string compare $MODE halt] \u003d\u003d 0 } {"},{"line_number":35,"context_line":"\t\tset halt 1"},{"line_number":36,"context_line":"\t}"},{"line_number":37,"context_line":"\tif { [string compare $MODE init] \u003d\u003d 0 } {"}],"source_content_type":"text/x-tcl","patch_set":1,"id":"aedf27f1_b832b804","line":34,"updated":"2021-05-29 10:39:54.000000000","message":"why not being even more aggressive and switch to:\nif { $MODE \u003d\u003d \"halt\" } {\n\nor, only here, hyper aggressive and use:\nswitch $MODE {\n  halt -\n  init {\n    set halt 1\n  }\n  run {\n    set halt 0\n  }\n  default {\n    return -code ...\n  }\n}","commit_id":"3a989ecd88d4b416e496b32e68c76b36a671387a"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"339f536b0985680ea1e77f38f091ce458207d03a","unresolved":false,"context_lines":[{"line_number":129,"context_line":"\t\t\t# Did we succeed?"},{"line_number":130,"context_line":"\t\t\tset s [$t curstate]"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"\t\t\tif { [string compare $s \"halted\" ] !\u003d 0 } {"},{"line_number":133,"context_line":"\t\t\t\treturn -code error [format \"TARGET: %s - Not halted\" $t]"},{"line_number":134,"context_line":"\t\t\t}"},{"line_number":135,"context_line":"\t\t}"}],"source_content_type":"text/x-tcl","patch_set":2,"id":"aedf27f1_3b056214","line":132,"updated":"2021-05-29 12:50:40.000000000","message":"mmmm, also here\nif { $s !\u003d \"halted\" } {","commit_id":"69c163006ffec08e7e9446599f99e1e7643b7ad3"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"339f536b0985680ea1e77f38f091ce458207d03a","unresolved":false,"context_lines":[{"line_number":136,"context_line":"\t}"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"\t#Pass 2 - if needed \"init\""},{"line_number":139,"context_line":"\tif { [string compare init $MODE] \u003d\u003d 0 } {"},{"line_number":140,"context_line":"\t\tforeach t $targets {"},{"line_number":141,"context_line":"\t\t\tif {[using_jtag] \u0026\u0026 ![jtag tapisenabled [$t cget -chain-position]]} {"},{"line_number":142,"context_line":"\t\t\t\tcontinue"}],"source_content_type":"text/x-tcl","patch_set":2,"id":"aedf27f1_5b0aa625","line":139,"updated":"2021-05-29 12:50:40.000000000","message":"and here\nif { $MODE \u003d\u003d \"init\" } {","commit_id":"69c163006ffec08e7e9446599f99e1e7643b7ad3"}]}
