)]}'
{"id":"openocd~master~I881332d3fdf8d8f8271b8711607737b052a5699b","project":"openocd","branch":"master","hashtags":[],"change_id":"I881332d3fdf8d8f8271b8711607737b052a5699b","subject":"mem_ap: fix target arch_info type","status":"MERGED","created":"2021-05-08 17:14:42.000000000","updated":"2021-05-22 09:11:10.000000000","submitted":"2021-05-22 09:11:10.000000000","submitter":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"6213-1621674670676-b92656d8","meta_rev_id":"6ee4d340bd4ab3ab38056b24fdf8b02f8354280c","_number":6213,"owner":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"value":1,"date":"2021-05-22 09:11:10.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}],"values":{"-1":"Fails"," 0":"No score","+1":"Verified"},"description":"","default_value":0},"Code-Review":{"approved":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"all":[{"value":2,"date":"2021-05-22 09:11:10.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"value":0,"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}],"values":{"-2":"This shall not be merged","-1":"I would prefer this is not merged as is"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me, approved"},"description":"","default_value":0}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2021-05-08 19:03:19.000000000","updated_by":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"reviewer":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"state":"REVIEWER"}],"messages":[{"id":"c2aafa82302c9c68e3d3a05eaff33a6d6a332054","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-05-08 17:14:42.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"5e12e3952b78fba87aed87a988ecc27c548fcfc4","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2021-05-08 19:03:19.000000000","message":"Patch Set 1: Verified+1\n\nBuild Successful \n\nhttp://build.openocd.org/job/openocd-gerrit/14472/ : SUCCESS\n\nhttp://build.openocd.org/job/openocd-gerrit-build/13726/ : SUCCESS","accounts_in_message":[],"_revision_number":1},{"id":"a46a6c0a1b6186611b0da8ac318559e8d00e5f5f","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-05-09 19:48:18.000000000","message":"Patch Set 1: Code-Review+1","accounts_in_message":[],"_revision_number":1},{"id":"a25bba4f4858811218121884a19a234a8a2e44c3","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-05-22 09:11:08.000000000","message":"Patch Set 1: Code-Review+2","accounts_in_message":[],"_revision_number":1},{"id":"6ee4d340bd4ab3ab38056b24fdf8b02f8354280c","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-05-22 09:11:10.000000000","message":"Change has been successfully cherry-picked as 2fe2cafe2028c9c3c6faf82b0a545d33f6344ace by Antonio Borneo","accounts_in_message":[],"_revision_number":2}],"current_revision":"2fe2cafe2028c9c3c6faf82b0a545d33f6344ace","revisions":{"c6add7265b63af7a0bb5efddac2acf58275c8743":{"kind":"REWORK","_number":1,"created":"2021-05-08 17:14:42.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/13/6213/1","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/13/6213/1","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/13/6213/1 \u0026\u0026 git checkout -b change-6213 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/13/6213/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/13/6213/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/13/6213/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/13/6213/1","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/13/6213/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"e05cbb4e4feed04c44c71e4a86fa37f310515b15","subject":"Add IPDBG JtagHost functionality to OpenOCD"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-01-06 17:01:00.000000000","tz":60},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-05-08 17:14:05.000000000","tz":120},"subject":"mem_ap: fix target arch_info type","message":"mem_ap: fix target arch_info type\n\nThe target mem_ap appears as an ARM target, thus it allows the\nexecution of ARM specific commands causing the crash of OpenOCD.\nE.g. \u0027arm mrc ...\u0027 can be executed and segfaults.\n\nReplace the incorrect ARM magic number with a dedicated one.\nWhile there, remove the \u0027struct arm\u0027, that is now holding only the\nmem_ap\u0027s dap, and replace it with a pointer to the dap.\n\nChange-Id: I881332d3fdf8d8f8271b8711607737b052a5699b\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\n"}},"2fe2cafe2028c9c3c6faf82b0a545d33f6344ace":{"kind":"REWORK","_number":2,"created":"2021-05-22 09:11:10.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/13/6213/2","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/13/6213/2","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/13/6213/2 \u0026\u0026 git checkout -b change-6213 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/13/6213/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/13/6213/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/13/6213/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/13/6213/2","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/13/6213/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"0c5ca348ec70663f89a9a4e3b2d96d75787d431f","subject":"helper/command: silent debug msg on command register/unregister"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-01-06 17:01:00.000000000","tz":60},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-05-22 09:11:10.000000000","tz":60},"subject":"mem_ap: fix target arch_info type","message":"mem_ap: fix target arch_info type\n\nThe target mem_ap appears as an ARM target, thus it allows the\nexecution of ARM specific commands causing the crash of OpenOCD.\nE.g. \u0027arm mrc ...\u0027 can be executed and segfaults.\n\nReplace the incorrect ARM magic number with a dedicated one.\nWhile there, remove the \u0027struct arm\u0027, that is now holding only the\nmem_ap\u0027s dap, and replace it with a pointer to the dap.\n\nChange-Id: I881332d3fdf8d8f8271b8711607737b052a5699b\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\nReviewed-on: http://openocd.zylin.com/6213\nTested-by: jenkins\n"}}},"requirements":[],"submit_records":[],"submit_requirements":[]}
