{"action":"created","issue":{"url":"https://api.github.com/repos/riscv/riscv-binutils-gdb/issues/9","repository_url":"https://api.github.com/repos/riscv/riscv-binutils-gdb","labels_url":"https://api.github.com/repos/riscv/riscv-binutils-gdb/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/riscv/riscv-binutils-gdb/issues/9/comments","events_url":"https://api.github.com/repos/riscv/riscv-binutils-gdb/issues/9/events","html_url":"https://github.com/riscv/riscv-binutils-gdb/pull/9","id":156113820,"number":9,"title":"Allow access to all CSRs through $csrNN, and access to GPRs using $xN (cleaner history)","user":{"login":"timsifive","id":16123885,"avatar_url":"https://avatars.githubusercontent.com/u/16123885?v=3","gravatar_id":"","url":"https://api.github.com/users/timsifive","html_url":"https://github.com/timsifive","followers_url":"https://api.github.com/users/timsifive/followers","following_url":"https://api.github.com/users/timsifive/following{/other_user}","gists_url":"https://api.github.com/users/timsifive/gists{/gist_id}","starred_url":"https://api.github.com/users/timsifive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timsifive/subscriptions","organizations_url":"https://api.github.com/users/timsifive/orgs","repos_url":"https://api.github.com/users/timsifive/repos","events_url":"https://api.github.com/users/timsifive/events{/privacy}","received_events_url":"https://api.github.com/users/timsifive/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-21T17:52:00Z","updated_at":"2016-06-01T23:39:48Z","closed_at":"2016-06-01T23:39:47Z","pull_request":{"url":"https://api.github.com/repos/riscv/riscv-binutils-gdb/pulls/9","html_url":"https://github.com/riscv/riscv-binutils-gdb/pull/9","diff_url":"https://github.com/riscv/riscv-binutils-gdb/pull/9.diff","patch_url":"https://github.com/riscv/riscv-binutils-gdb/pull/9.patch"},"body":"The reason for this change is to allow a gdb user to access arbitrary CSR registers that may be implemented on a given core. In 'info all-registers', 'info registers all', and 'info registers system' only the CSRs that have aliases defined are displayed. To keep the code simple, this change changes the register numbers gdb uses internally and when communicating to clients using its own protocol. Any existing clients will need to be modified to accommodate the new numbers.\r\n\r\nIt's also possible now to access GPRs using both their \"simple name\" (eg. x10) as well as their alias name (eg. a0).\r\n\r\nThis implementation doesn't use XML files, because I couldn't find the mechanism documented anywhere. I believe the new code is a strict improvement over the existing code, and doesn't make it any harder to switch to XML files at a later time.\r\n\r\nThis request is identical to https://github.com/riscv/riscv-binutils-gdb/pull/6, but its history has been cleaned up a bit."},"comment":{"url":"https://api.github.com/repos/riscv/riscv-binutils-gdb/issues/comments/223156832","html_url":"https://github.com/riscv/riscv-binutils-gdb/pull/9#issuecomment-223156832","issue_url":"https://api.github.com/repos/riscv/riscv-binutils-gdb/issues/9","id":223156832,"user":{"login":"palmer-dabbelt","id":1383006,"avatar_url":"https://avatars.githubusercontent.com/u/1383006?v=3","gravatar_id":"","url":"https://api.github.com/users/palmer-dabbelt","html_url":"https://github.com/palmer-dabbelt","followers_url":"https://api.github.com/users/palmer-dabbelt/followers","following_url":"https://api.github.com/users/palmer-dabbelt/following{/other_user}","gists_url":"https://api.github.com/users/palmer-dabbelt/gists{/gist_id}","starred_url":"https://api.github.com/users/palmer-dabbelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palmer-dabbelt/subscriptions","organizations_url":"https://api.github.com/users/palmer-dabbelt/orgs","repos_url":"https://api.github.com/users/palmer-dabbelt/repos","events_url":"https://api.github.com/users/palmer-dabbelt/events{/privacy}","received_events_url":"https://api.github.com/users/palmer-dabbelt/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T23:39:47Z","updated_at":"2016-06-01T23:39:47Z","body":"This is merged as https://github.com/riscv/riscv-binutils-gdb/commit/0efb5fd05efd127d33ffd44cff8feba5a516990f .  Thanks!"}}
{"actor":{"display_login":"palmer-dabbelt"}}