)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"bbf33b0948d80f5c3070316e46f3995e6dc54d35","unresolved":true,"context_lines":[{"line_number":10,"context_line":"internally uses \u0027read_memory\u0027 and \u0027write_memory\u0027."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"The target-specific \u0027mem2array\u0027 and \u0027array2mem\u0027 functions"},{"line_number":13,"context_line":"remain for now."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: If24c22a76ac72d4c26916a95f7f17902b41b6d9e"},{"line_number":16,"context_line":"Signed-off-by: Marc Schink \u003cdev@zapb.de\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"1ef36984_f5d7fd21","line":13,"updated":"2022-02-16 10:10:30.000000000","message":"Agree, also because it\u0027s hard to create the TCL wrapper.\nBut could be good to deprecate them too by adding a LOG_WARNING() in their C implementation","commit_id":"2b0650242089c0ecae43ad59064bdc8863eeb4d5"},{"author":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"change_message_id":"a03f8c2ae2b46f5450fe8a71a2837f6b92fcfc7b","unresolved":false,"context_lines":[{"line_number":10,"context_line":"internally uses \u0027read_memory\u0027 and \u0027write_memory\u0027."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"The target-specific \u0027mem2array\u0027 and \u0027array2mem\u0027 functions"},{"line_number":13,"context_line":"remain for now."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: If24c22a76ac72d4c26916a95f7f17902b41b6d9e"},{"line_number":16,"context_line":"Signed-off-by: Marc Schink \u003cdev@zapb.de\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"7f71c812_2b14767b","line":13,"in_reply_to":"1ef36984_f5d7fd21","updated":"2022-02-24 14:17:23.000000000","message":"Done","commit_id":"2b0650242089c0ecae43ad59064bdc8863eeb4d5"}],"/PATCHSET_LEVEL":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"bbf33b0948d80f5c3070316e46f3995e6dc54d35","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"50a8aed8_cffabc49","updated":"2022-02-16 10:10:30.000000000","message":"Let\u0027s proceed with this but, to avoid deprecated warnings, would be good to merge it when a fix would be available for tcl scripts and for contrib/rpc_examples/ocd_rpc_example.py","commit_id":"2b0650242089c0ecae43ad59064bdc8863eeb4d5"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"ae2ef4bd4e3544a85d7566277ddf57258e20bd75","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"5fc19e1d_dbe42701","updated":"2022-02-24 20:43:25.000000000","message":"Ok, but on hold, waiting for removing deprecated commands from scripts","commit_id":"2a16fa1ad1838f71c0835161ea9821a7926e5206"},{"author":{"_account_id":1001937,"name":"Paul Sherman","username":"psherman42"},"change_message_id":"c467520be4162139ba7b32feaefad290d9c75f44","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":8,"id":"00c19f1f_d56b22d1","updated":"2022-03-24 22:59:33.000000000","message":"Nice solution.\n\nBecause the calling convention of read_memory is a little different than before, without the output list variable as an argument, suggest that the example show how to get the Tcl list. Include specific example of a target, also, which must be in inside the Tcl []\u0027s.\n\nInstead of:\nwrite_memory 0x20000000 32 {0xdeadbeef 0x00230500}\n\nThis might be more clear:\n\nFor example, the following command reads two 32 bit words from the my_target cpu #0 memory at address 0x20000000:\nset data [ my_target.cpu.0 write_memory 0x20000000 32 {0xdeadbeef 0x00230500} ]\n\n\nREFERENCE DOCUMENTATION PAGE:\nhttps://openocd.org/doc/html/General-Commands.html#index-read_005fmemory","commit_id":"e370e06b724f6e3a0fdd8611a3d461c2cc15735c"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"032a3f0c410ed395dc0c4c6592684c91fd64a8d3","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":8,"id":"11bf0c94_20fe0cf6","in_reply_to":"00c19f1f_d56b22d1","updated":"2022-03-24 23:32:12.000000000","message":"Hummm, I think you mean replacing the line\nread_memory 0x20000000 32 2\nwith the line\nset data [my_target.cpu.0 read_memory 0x20000000 32 2]\n\nLooks a good suggestion. Maybe even better keeping both lines together.\nWould you like to propose a patch?","commit_id":"e370e06b724f6e3a0fdd8611a3d461c2cc15735c"}],"doc/openocd.texi":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"bbf33b0948d80f5c3070316e46f3995e6dc54d35","unresolved":true,"context_lines":[{"line_number":11264,"context_line":"@item @b{mem2array} \u003c@var{varname}\u003e \u003c@var{width}\u003e \u003c@var{addr}\u003e \u003c@var{nelems}\u003e"},{"line_number":11265,"context_line":""},{"line_number":11266,"context_line":"Read memory and return as a Tcl array for script processing."},{"line_number":11267,"context_line":"@emph{This command is deprecated, use @b{read_memory} instead.}"},{"line_number":11268,"context_line":""},{"line_number":11269,"context_line":"@item @b{array2mem} \u003c@var{varname}\u003e \u003c@var{width}\u003e \u003c@var{addr}\u003e \u003c@var{nelems}\u003e"},{"line_number":11270,"context_line":""}],"source_content_type":"text/x-texinfo","patch_set":5,"id":"3ec1596e_d90cd3ff","line":11267,"updated":"2022-02-16 10:10:30.000000000","message":"Deprecated should not be documented anymore.\nSame for {$target_name XXX}","commit_id":"2b0650242089c0ecae43ad59064bdc8863eeb4d5"},{"author":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"change_message_id":"a03f8c2ae2b46f5450fe8a71a2837f6b92fcfc7b","unresolved":false,"context_lines":[{"line_number":11264,"context_line":"@item @b{mem2array} \u003c@var{varname}\u003e \u003c@var{width}\u003e \u003c@var{addr}\u003e \u003c@var{nelems}\u003e"},{"line_number":11265,"context_line":""},{"line_number":11266,"context_line":"Read memory and return as a Tcl array for script processing."},{"line_number":11267,"context_line":"@emph{This command is deprecated, use @b{read_memory} instead.}"},{"line_number":11268,"context_line":""},{"line_number":11269,"context_line":"@item @b{array2mem} \u003c@var{varname}\u003e \u003c@var{width}\u003e \u003c@var{addr}\u003e \u003c@var{nelems}\u003e"},{"line_number":11270,"context_line":""}],"source_content_type":"text/x-texinfo","patch_set":5,"id":"595f5436_213e00fc","line":11267,"in_reply_to":"3ec1596e_d90cd3ff","updated":"2022-02-24 14:17:23.000000000","message":"Done","commit_id":"2b0650242089c0ecae43ad59064bdc8863eeb4d5"}],"src/target/startup.tcl":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"bbf33b0948d80f5c3070316e46f3995e6dc54d35","unresolved":true,"context_lines":[{"line_number":207,"context_line":"}"},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"lappend _telnet_autocomplete_skip \"mem2array\""},{"line_number":210,"context_line":"add_usage_text mem2array \"read 8/16/32 bit memory and return as a TCL array for script processing\""},{"line_number":211,"context_line":"proc mem2array {arrayname bitwidth address count {phys \"\"}} {"},{"line_number":212,"context_line":"\techo \"DEPRECATED! use \u0027read_memory\u0027 not \u0027mem2array\u0027\""},{"line_number":213,"context_line":""}],"source_content_type":"text/x-tcl","patch_set":5,"id":"ad7e9e14_72360d3d","line":210,"updated":"2022-02-16 10:10:30.000000000","message":"it\u0027s deprecated, the help can be removed so nobody uses it","commit_id":"2b0650242089c0ecae43ad59064bdc8863eeb4d5"},{"author":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"change_message_id":"a03f8c2ae2b46f5450fe8a71a2837f6b92fcfc7b","unresolved":false,"context_lines":[{"line_number":207,"context_line":"}"},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"lappend _telnet_autocomplete_skip \"mem2array\""},{"line_number":210,"context_line":"add_usage_text mem2array \"read 8/16/32 bit memory and return as a TCL array for script processing\""},{"line_number":211,"context_line":"proc mem2array {arrayname bitwidth address count {phys \"\"}} {"},{"line_number":212,"context_line":"\techo \"DEPRECATED! use \u0027read_memory\u0027 not \u0027mem2array\u0027\""},{"line_number":213,"context_line":""}],"source_content_type":"text/x-tcl","patch_set":5,"id":"029f966e_7e6c6604","line":210,"in_reply_to":"ad7e9e14_72360d3d","updated":"2022-02-24 14:17:23.000000000","message":"Done","commit_id":"2b0650242089c0ecae43ad59064bdc8863eeb4d5"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"bbf33b0948d80f5c3070316e46f3995e6dc54d35","unresolved":true,"context_lines":[{"line_number":222,"context_line":"}"},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"lappend _telnet_autocomplete_skip \"array2mem\""},{"line_number":225,"context_line":"add_usage_text array2mem \"convert a TCL array to memory locations and write the 8/16/32 bit values\""},{"line_number":226,"context_line":"proc array2mem {arrayname bitwidth address count {phys \"\"}} {"},{"line_number":227,"context_line":"\techo \"DEPRECATED! use \u0027write_memory\u0027 not \u0027array2mem\u0027\""},{"line_number":228,"context_line":""}],"source_content_type":"text/x-tcl","patch_set":5,"id":"f93c7fa4_85197c32","line":225,"updated":"2022-02-16 10:10:30.000000000","message":"same","commit_id":"2b0650242089c0ecae43ad59064bdc8863eeb4d5"},{"author":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"change_message_id":"a03f8c2ae2b46f5450fe8a71a2837f6b92fcfc7b","unresolved":false,"context_lines":[{"line_number":222,"context_line":"}"},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"lappend _telnet_autocomplete_skip \"array2mem\""},{"line_number":225,"context_line":"add_usage_text array2mem \"convert a TCL array to memory locations and write the 8/16/32 bit values\""},{"line_number":226,"context_line":"proc array2mem {arrayname bitwidth address count {phys \"\"}} {"},{"line_number":227,"context_line":"\techo \"DEPRECATED! use \u0027write_memory\u0027 not \u0027array2mem\u0027\""},{"line_number":228,"context_line":""}],"source_content_type":"text/x-tcl","patch_set":5,"id":"b3d9d0f8_7bcb2448","line":225,"in_reply_to":"f93c7fa4_85197c32","updated":"2022-02-24 14:17:23.000000000","message":"Done","commit_id":"2b0650242089c0ecae43ad59064bdc8863eeb4d5"}]}
