)]}'
{"id":"openocd~master~Ib439071cda81fac69c2e1ed3df15626487adbe0a","project":"openocd","branch":"master","hashtags":[],"change_id":"Ib439071cda81fac69c2e1ed3df15626487adbe0a","subject":"RTOS: add ability to wipe RTOS before use to avoid old data in memory","status":"NEW","created":"2014-11-21 17:30:48.000000000","updated":"2018-10-05 17:46:21.000000000","submit_type":"CHERRY_PICK","submittable":false,"total_comment_count":4,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"485882b442cb6e37a42a964c198e9faf201a1dd1","_number":2393,"owner":{"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},{"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},{"date":"2016-11-17 21:36:02.000000000","_account_id":1000868,"name":"UweBonnes","username":"UweBonnes"},{"date":"2016-11-17 21:10:10.000000000","_account_id":1000859,"name":"Karl Palsson","email":"karlp@tweak.au","username":"karlp"},{"date":"2016-11-17 19:10:45.000000000","_account_id":1000715,"name":"Uwe Bonnes","email":"bon@elektron.ikp.physik.tu-darmstadt.de","username":"UBonnes"},{"value":1,"date":"2016-01-05 17:50:32.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":{"disliked":{"_account_id":1000859,"name":"Karl Palsson","email":"karlp@tweak.au","username":"karlp"},"all":[{"value":0,"date":"2016-01-07 10:14:12.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},{"value":0,"permitted_voting_range":{"min":-2,"max":2},"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":1000868,"name":"UweBonnes","username":"UweBonnes"},{"value":-1,"date":"2016-11-17 22:02:27.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":1000859,"name":"Karl Palsson","email":"karlp@tweak.au","username":"karlp"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":1000715,"name":"Uwe Bonnes","email":"bon@elektron.ikp.physik.tu-darmstadt.de","username":"UBonnes"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_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":"","value":-1,"default_value":0}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},{"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},{"_account_id":1000715,"name":"Uwe Bonnes","email":"bon@elektron.ikp.physik.tu-darmstadt.de","username":"UBonnes"},{"_account_id":1000859,"name":"Karl Palsson","email":"karlp@tweak.au","username":"karlp"},{"_account_id":1000868,"name":"UweBonnes","username":"UweBonnes"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2016-01-04 19:20:40.000000000","updated_by":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"reviewer":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"state":"REVIEWER"},{"updated":"2016-01-05 17:50:32.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"},{"updated":"2016-01-07 10:14:12.000000000","updated_by":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"reviewer":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"state":"REVIEWER"},{"updated":"2016-11-17 19:10:45.000000000","updated_by":{"_account_id":1000715,"name":"Uwe Bonnes","email":"bon@elektron.ikp.physik.tu-darmstadt.de","username":"UBonnes"},"reviewer":{"_account_id":1000715,"name":"Uwe Bonnes","email":"bon@elektron.ikp.physik.tu-darmstadt.de","username":"UBonnes"},"state":"REVIEWER"},{"updated":"2016-11-17 21:10:10.000000000","updated_by":{"_account_id":1000859,"name":"Karl Palsson","email":"karlp@tweak.au","username":"karlp"},"reviewer":{"_account_id":1000859,"name":"Karl Palsson","email":"karlp@tweak.au","username":"karlp"},"state":"REVIEWER"},{"updated":"2016-11-17 21:36:02.000000000","updated_by":{"_account_id":1000868,"name":"UweBonnes","username":"UweBonnes"},"reviewer":{"_account_id":1000868,"name":"UweBonnes","username":"UweBonnes"},"state":"REVIEWER"}],"messages":[{"id":"a3dbcabd2fcaaebf73af4c66a336cb7e92cdd995","author":{"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},"real_author":{"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},"date":"2014-11-21 17:30:48.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"2df0053bb1a8418194e9ca82a5e237e181a1293a","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2014-11-21 17:48:58.000000000","message":"Patch Set 1: Verified+1\n\nBuild Successful \n\nhttp://openocd.zylin.com/jenkins/job/openocd-gerrit-build/4498/ : SUCCESS\n\nhttp://openocd.zylin.com/jenkins/job/openocd-gerrit/5058/ : SUCCESS","accounts_in_message":[],"_revision_number":1},{"id":"464d7c0a4daaad15df59c381a75bd4ca9114789a","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2015-03-17 19:05:19.000000000","message":"Patch Set 1: Code-Review-2\n\nSounds useful but I miss a rationale explaining when this should be used and when not. Also, why not make this default?\n\nThis shouldn\u0027t be merged yet as it lacks amendments to the manual.","accounts_in_message":[],"_revision_number":1},{"id":"b5853c45acfee7209230cb98c942936e32f3926b","author":{"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},"real_author":{"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},"date":"2015-03-19 13:59:32.000000000","message":"Patch Set 1:\n\nThis option causes the system to wipe the memory where the RTOS symbols are stored before starting the system","accounts_in_message":[],"_revision_number":1},{"id":"077b65050a5269a0e8f12e04ee333db27aa8ea7d","author":{"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},"real_author":{"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},"date":"2015-03-19 14:06:26.000000000","message":"Patch Set 1:\n\nSorry - clicked send too soon.\n\nThis option causes the system to wipe the memory where the RTOS symbols are stored before starting the system.\nIt is needed in cases where a reset is performed with the RAM retaining power. In this state, the CRT0 code has not run to wipe the BSS/data section, so the RAM will retain whatever garbage was in it previously (possibly with completely different symbol locations).  If that happens, then the RTOS code will read garbage from the symbol memory and interpret it badly (often it causes the thread-count to be read as a huge number and OpenOCD crashes due to attempted malloc of a massive block of memory).  Hence the solution is to wipe the relevant pieces of memory when reset occurs before attempting to read any RTOS data.\n\nThe reason this is not always required is that if OpenOCD is connected to a processor that is already running, and does not reset the chip, then it should not wipe the RTOS variables, since they will already be valid.\n\nCan you point to where the manual needs updating?","accounts_in_message":[],"_revision_number":1},{"id":"2dcc0cc40ce9c7eb8339c47b514dc953a9c8612d","author":{"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},"real_author":{"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},"date":"2016-01-04 13:25:55.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"682d0cb2c3dd4e9bf8a78ee36afa1e885c75321f","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2016-01-04 13:40:34.000000000","message":"Patch Set 2: Verified+1\n\nBuild Successful \n\nhttp://build.openocd.org/job/openocd-gerrit/6813/ : SUCCESS\n\nhttp://build.openocd.org/job/openocd-gerrit-build/6227/ : SUCCESS","accounts_in_message":[],"_revision_number":2},{"id":"aef08ce9f0849738f4ba09f562b595ca28f64b38","author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"real_author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"date":"2016-01-04 19:20:40.000000000","message":"Patch Set 2:\n\n(2 comments)\n\nWhat counts as \"the first halt\"? Does it ever reset the wiped flag and repeat the wipe? Should it?","accounts_in_message":[],"_revision_number":2},{"id":"ae202fc0f7bdbc777a115eaef7cf1c5f3bc27406","author":{"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},"real_author":{"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},"date":"2016-01-05 14:44:02.000000000","message":"Patch Set 2:\n\n(2 comments)\n\nWiping occurs before the thread list is updated for the first time or  registers are read for the first time.\n\nThe wiped flag is currently never reset, however if a reset occurred after the wipe, the processor halted in crt0, then there is a possibility of getting incorrect data.\nThis has not been a problem for me as OpenOCD gets restarted for each new run in my system.\n\nI guess the wipe flag should get cleared during a reset - shall I add this?\nThis however will still not cover cases where the reset doesn\u0027t come from the debugger (e.g. watchdog)","accounts_in_message":[],"_revision_number":2},{"id":"7bd49db1553174c50bcd5c3da53c39a398ad8ebb","author":{"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},"real_author":{"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},"date":"2016-01-05 17:31:02.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"59c390a734dc10ed9417d0e87fa9b2c12fb35cbd","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2016-01-05 17:50:32.000000000","message":"Patch Set 3: Verified+1\n\nBuild Successful \n\nhttp://build.openocd.org/job/openocd-gerrit/6825/ : SUCCESS\n\nhttp://build.openocd.org/job/openocd-gerrit-build/6239/ : SUCCESS","accounts_in_message":[],"_revision_number":3},{"id":"15d1bf376ca8b4f669fdb86ddfa5731dd2859312","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2016-01-07 10:14:12.000000000","message":"Patch Set 3: -Code-Review","accounts_in_message":[],"_revision_number":3},{"id":"976c743392488a6d8407218082716a4b874fd9d9","author":{"_account_id":1000715,"name":"Uwe Bonnes","email":"bon@elektron.ikp.physik.tu-darmstadt.de","username":"UBonnes"},"real_author":{"_account_id":1000715,"name":"Uwe Bonnes","email":"bon@elektron.ikp.physik.tu-darmstadt.de","username":"UBonnes"},"date":"2016-11-17 19:10:45.000000000","message":"Patch Set 3:\n\nPing.\n\nStumbled about the same problem with thread awareness for NutOS.","accounts_in_message":[],"_revision_number":3},{"id":"104f1749bd6e0d0631c2a71fc91b0f2fe9c9e65e","author":{"_account_id":1001127,"name":"Steven Stallion","email":"sstallion@gmail.com","username":"sstallion"},"real_author":{"_account_id":1001127,"name":"Steven Stallion","email":"sstallion@gmail.com","username":"sstallion"},"date":"2016-11-17 20:00:35.000000000","message":"Patch Set 3: Code-Review-1\n\nI believe this change will cause issues when attempting to attach to a target that\u0027s already running. Would it possible to add an rtos command for this instead so it isn\u0027t tied to the configuration? It\u0027s common for the same configuration to be used for both attaching to a running target and also when writing a new flash image and resetting the MCU.","accounts_in_message":[],"_revision_number":3},{"id":"edb16a4a1ae7f2d0dc8304f2398a10752739e4c7","author":{"_account_id":1000859,"name":"Karl Palsson","email":"karlp@tweak.au","username":"karlp"},"real_author":{"_account_id":1000859,"name":"Karl Palsson","email":"karlp@tweak.au","username":"karlp"},"date":"2016-11-17 21:10:10.000000000","message":"Patch Set 3:\n\nAm I misunderstanding something or is this just trying to work around a misbehaving target?  Surely the target has the rtos structures up to date and correct, as it\u0027s the one using them.  I don\u0027t understand why wiping them from the host side makes any sense at all?","accounts_in_message":[],"_revision_number":3},{"id":"bd26b8e3bcacc53d332422f2dacc0e7a0df238dc","author":{"_account_id":1000868,"name":"UweBonnes","username":"UweBonnes"},"real_author":{"_account_id":1000868,"name":"UweBonnes","username":"UweBonnes"},"date":"2016-11-17 21:36:02.000000000","message":"Patch Set 3:\n\nNo, the target is not misbehaving. Imaging following situation: You are attached to a running target. Now you break into the debugger (^C). You set a breakpoint at the reset vector and you start new \"r\". When the reset vector is hit, all RAM still contains the the data from the last run. You can perfectly read the start of the thread list and follow the chain of threads, also no thread has yet been created. You only read and display the content of the last run, but there is no indication that this is no more valid.\n\nSo I guess the right moment to wipe the old data, is before the debugger releases the target to start at the reset vector. This would not interfere with attaching to a running target.","accounts_in_message":[],"_revision_number":3},{"id":"24cd0c490f1eff71c443ce6fcea935b3747b1f18","author":{"_account_id":1001127,"name":"Steven Stallion","email":"sstallion@gmail.com","username":"sstallion"},"real_author":{"_account_id":1001127,"name":"Steven Stallion","email":"sstallion@gmail.com","username":"sstallion"},"date":"2016-11-17 21:40:30.000000000","message":"Patch Set 3:\n\n\u003e So I guess the right moment to wipe the old data, is before the\n \u003e debugger releases the target to start at the reset vector. This\n \u003e would not interfere with attaching to a running target.\n\nThe RTOS is still reading data resident in memory. Yes, it\u0027s out of date, but that isn\u0027t because the target is in a bad state, it\u0027s because RAM contains values from the previous run.\n\nI\u0027m not a fan of the debugger doing anything to target memory like this. One way of dealing with this is making sure that the RTOS plugin only provides thread information when the RTOS is running. If you take a look at the uC/OS-III patch, you can see that info is only provided when OSRunning is set. There is still a small window between when the target is reset and .bss is cleared that old values can be seen, but in practice it doesn\u0027t matter since most initial breakpoints are set to main\n\nThis is an awfully big stick, especially for those RTOS implementations that already do the right thing.","accounts_in_message":[],"_revision_number":3},{"id":"96a182b37cfd5cc3d487b363d2cece5caf944ef3","author":{"_account_id":1000859,"name":"Karl Palsson","email":"karlp@tweak.au","username":"karlp"},"real_author":{"_account_id":1000859,"name":"Karl Palsson","email":"karlp@tweak.au","username":"karlp"},"date":"2016-11-17 22:02:27.000000000","message":"Patch Set 3: Code-Review-1\n\n\u003e No, the target is not misbehaving. Imaging following situation: You\n \u003e are attached to a running target. Now you break into the debugger\n \u003e (^C). You set a breakpoint at the reset vector and you start new\n \u003e \"r\". When the reset vector is hit, all RAM still contains the the\n \u003e data from the last run. You can perfectly read the start of the\n \u003e thread list and follow the chain of threads, also no thread has yet\n \u003e been created. You only read and display the content of the last\n \u003e run, but there is no indication that this is no more valid.\n\nSo, you\u0027ve set a breakpoint on the reset vector, and you\u0027re _surprised_ that ram isn\u0027t initialized yet? You\u0027re runnining \"info threads\" and you\u0027re _upset_ that it\u0027s wrong?! \"info reg\" will show \"garbage\" too.  Are you going to zero them all as well?  This sounds like a fairly absurd hammer to fix a user with wildly unrealistic expectations.","accounts_in_message":[],"_revision_number":3},{"id":"485882b442cb6e37a42a964c198e9faf201a1dd1","author":{"_account_id":1001127,"name":"Steven Stallion","email":"sstallion@gmail.com","username":"sstallion"},"real_author":{"_account_id":1001127,"name":"Steven Stallion","email":"sstallion@gmail.com","username":"sstallion"},"date":"2018-10-05 17:46:21.000000000","message":"Removed reviewer Steven Stallion with the following votes:\n\n* Code-Review-1 by Steven Stallion \u003csstallion@gmail.com\u003e\n","accounts_in_message":[],"_revision_number":3}],"current_revision":"5c5d10814b7ddee0f7eedb130bba78e5bbc77dfb","revisions":{"3a5d05811a42abf3b68c6e824154d701703584be":{"kind":"REWORK","_number":1,"created":"2014-11-21 17:30:48.000000000","uploader":{"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},"ref":"refs/changes/93/2393/1","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/93/2393/1","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/93/2393/1 \u0026\u0026 git checkout -b change-2393 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/93/2393/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/93/2393/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/93/2393/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/93/2393/1","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/93/2393/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"30203b3d8b8cf77986245dc1fd331697f36b5c05","subject":"arm_adi_v5: added two CoreSight peripheral IDs"}],"author":{"name":"Evan Hunter","email":"ehunter@broadcom.com","date":"2014-11-21 17:29:31.000000000","tz":0},"committer":{"name":"Evan Hunter","email":"ehunter@broadcom.com","date":"2014-11-21 17:29:31.000000000","tz":0},"subject":"RTOS: add ability to wipe RTOS before use to avoid old data in memory","message":"RTOS: add ability to wipe RTOS before use to avoid old data in memory\n\nThis allows users to add a comand such as:\n    $_TARGETNAME configure -rtos auto -rtos-wipe\nThis will locate the target variables which hold the RTOS thread data and ensure that\nthey are wiped before they are used. This prevents data from an previous execution\nfrom showing up as an incorrect thread list.\n\nChange-Id: Ib439071cda81fac69c2e1ed3df15626487adbe0a\nSigned-off-by: Evan Hunter \u003cehunter@broadcom.com\u003e\n"}},"5c5d10814b7ddee0f7eedb130bba78e5bbc77dfb":{"kind":"REWORK","_number":3,"created":"2016-01-05 17:31:02.000000000","uploader":{"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},"ref":"refs/changes/93/2393/3","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/93/2393/3","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/93/2393/3 \u0026\u0026 git checkout -b change-2393 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/93/2393/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/93/2393/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/93/2393/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/93/2393/3","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/93/2393/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"48768db9d6420013ccd88107a67de85fdcd5bbd8","subject":"arm_adi_v5: deconflict local variables from global symbols"}],"author":{"name":"Evan Hunter","email":"ehunter@broadcom.com","date":"2014-11-21 17:29:31.000000000","tz":0},"committer":{"name":"Evan Hunter","email":"ehunter@broadcom.com","date":"2016-01-05 17:15:32.000000000","tz":0},"subject":"RTOS: add ability to wipe RTOS before use to avoid old data in memory","message":"RTOS: add ability to wipe RTOS before use to avoid old data in memory\n\nThis allows users to add a comand such as:\n    $_TARGETNAME configure -rtos auto -rtos-wipe\nThis will locate the target variables which hold the RTOS thread data and ensure that\nthey are wiped before they are used. This prevents data from an previous execution\nfrom showing up as an incorrect thread list.\n\n(Addressed Gerrit comments)\n\nChange-Id: Ib439071cda81fac69c2e1ed3df15626487adbe0a\nSigned-off-by: Evan Hunter \u003cehunter@broadcom.com\u003e\n"}},"cb848d0cb5abe77ef1f785041b0142b223b3cf2e":{"kind":"REWORK","_number":2,"created":"2016-01-04 13:25:55.000000000","uploader":{"_account_id":1000016,"name":"Evan Hunter","email":"evanhunter920@gmail.com","username":"ehunter"},"ref":"refs/changes/93/2393/2","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/93/2393/2","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/93/2393/2 \u0026\u0026 git checkout -b change-2393 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/93/2393/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/93/2393/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/93/2393/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/93/2393/2","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/93/2393/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"48768db9d6420013ccd88107a67de85fdcd5bbd8","subject":"arm_adi_v5: deconflict local variables from global symbols"}],"author":{"name":"Evan Hunter","email":"ehunter@broadcom.com","date":"2014-11-21 17:29:31.000000000","tz":0},"committer":{"name":"Evan Hunter","email":"ehunter@broadcom.com","date":"2016-01-04 13:25:39.000000000","tz":0},"subject":"RTOS: add ability to wipe RTOS before use to avoid old data in memory","message":"RTOS: add ability to wipe RTOS before use to avoid old data in memory\n\nThis allows users to add a comand such as:\n    $_TARGETNAME configure -rtos auto -rtos-wipe\nThis will locate the target variables which hold the RTOS thread data and ensure that\nthey are wiped before they are used. This prevents data from an previous execution\nfrom showing up as an incorrect thread list.\n\n(Addressed Gerrit comments)\n\nChange-Id: Ib439071cda81fac69c2e1ed3df15626487adbe0a\nSigned-off-by: Evan Hunter \u003cehunter@broadcom.com\u003e\n"}}},"requirements":[],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","status":"NOT_READY","labels":[{"label":"Verified","status":"OK","applied_by":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"NEED"}]}],"submit_requirements":[{"name":"Verified","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Verified\u003dMAX -label:Verified\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Verified\u003dMAX","-label:Verified\u003dMIN"],"failing_atoms":[]}},{"name":"Code-Review","status":"UNSATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX -label:Code-Review\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Code-Review\u003dMAX","-label:Code-Review\u003dMIN"]}}]}
