{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3930","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3930/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3930/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3930/events","html_url":"https://github.com/RIOT-OS/RIOT/pull/3930","id":107710491,"number":3930,"title":"core/panic: call cpu_print_last_instruction before printing other things","user":{"login":"cgundogan","id":739129,"avatar_url":"https://avatars.githubusercontent.com/u/739129?v=3","gravatar_id":"","url":"https://api.github.com/users/cgundogan","html_url":"https://github.com/cgundogan","followers_url":"https://api.github.com/users/cgundogan/followers","following_url":"https://api.github.com/users/cgundogan/following{/other_user}","gists_url":"https://api.github.com/users/cgundogan/gists{/gist_id}","starred_url":"https://api.github.com/users/cgundogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgundogan/subscriptions","organizations_url":"https://api.github.com/users/cgundogan/orgs","repos_url":"https://api.github.com/users/cgundogan/repos","events_url":"https://api.github.com/users/cgundogan/events{/privacy}","received_events_url":"https://api.github.com/users/cgundogan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/core","name":"core","color":"0052cc"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/enhancement","name":"enhancement","color":"f17070"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/Ready%20for%20CI%20build","name":"Ready for CI build","color":"bfdadc"}],"state":"open","locked":false,"assignee":{"login":"OlegHahm","id":1590423,"avatar_url":"https://avatars.githubusercontent.com/u/1590423?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegHahm","html_url":"https://github.com/OlegHahm","followers_url":"https://api.github.com/users/OlegHahm/followers","following_url":"https://api.github.com/users/OlegHahm/following{/other_user}","gists_url":"https://api.github.com/users/OlegHahm/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegHahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegHahm/subscriptions","organizations_url":"https://api.github.com/users/OlegHahm/orgs","repos_url":"https://api.github.com/users/OlegHahm/repos","events_url":"https://api.github.com/users/OlegHahm/events{/privacy}","received_events_url":"https://api.github.com/users/OlegHahm/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-09-22T13:05:15Z","updated_at":"2015-09-22T16:48:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3930","html_url":"https://github.com/RIOT-OS/RIOT/pull/3930","diff_url":"https://github.com/RIOT-OS/RIOT/pull/3930.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/3930.patch"},"body":"The compiler (at least for the iotlab-m3) is clever enough to not change the link register for subsequent calls to puts/printf. This will however result in a false link register reported to the user/developer when an assert fails.\r\nBy moving `cpu_print_last_instruction()` up and make it the first function to be called bypasses this.\r\n\r\nfixes #3920 "},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/142345963","html_url":"https://github.com/RIOT-OS/RIOT/pull/3930#issuecomment-142345963","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3930","id":142345963,"user":{"login":"cgundogan","id":739129,"avatar_url":"https://avatars.githubusercontent.com/u/739129?v=3","gravatar_id":"","url":"https://api.github.com/users/cgundogan","html_url":"https://github.com/cgundogan","followers_url":"https://api.github.com/users/cgundogan/followers","following_url":"https://api.github.com/users/cgundogan/following{/other_user}","gists_url":"https://api.github.com/users/cgundogan/gists{/gist_id}","starred_url":"https://api.github.com/users/cgundogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgundogan/subscriptions","organizations_url":"https://api.github.com/users/cgundogan/orgs","repos_url":"https://api.github.com/users/cgundogan/repos","events_url":"https://api.github.com/users/cgundogan/events{/privacy}","received_events_url":"https://api.github.com/users/cgundogan/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T16:48:38Z","updated_at":"2015-09-22T16:48:38Z","body":"partially kicked travis"}}