Skip to content
This repository has been archived by the owner on Aug 17, 2022. It is now read-only.

Allow access to all CSRs through $csrNN, and access to GPRs using $xN #6

Commits on Mar 15, 2016

  1. Don't dereference NULL.

    riscv_register_name returns NULL to indicate there is no name, so check
    for that.
    timsifive committed Mar 15, 2016
    Configuration menu
    Copy the full SHA
    4a11bba View commit details
    Browse the repository at this point in the history
  2. Allow access to all CSRs.

    Every CSR is accessible as a named register, csrNN. 'info registers all'
    and 'info registers system' only show CSRs that have aliases defined.
    
    This change renumbers the CSR register numbers used when talking to a
    remote client, breaking CSR accessibility for existing RISC-V
    gdbserver/stub implementations.
    timsifive committed Mar 15, 2016
    Configuration menu
    Copy the full SHA
    bda0e44 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2016

  1. Implement riscv_print_registers_info using groups.

    This is avoids code duplication, but is inefficient because
    riscv_register_reggroup_p() is O(n). The right fix is to fix that
    function.
    timsifive committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    39e3791 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2016

  1. Configuration menu
    Copy the full SHA
    7580595 View commit details
    Browse the repository at this point in the history
  2. Allow generic names for registers.

    Previously eg. "print $x1" wouldn't work but "print $ra" would. Now they
    both work. When displaying registers the alias is still preferred.
    timsifive committed Mar 18, 2016
    Configuration menu
    Copy the full SHA
    4f36472 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    40e3188 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2016

  1. Configuration menu
    Copy the full SHA
    192e0cc View commit details
    Browse the repository at this point in the history
  2. Remove superfluous comment.

    timsifive committed Mar 19, 2016
    Configuration menu
    Copy the full SHA
    25fdb53 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2016

  1. Address vapier's review.

    Cleaned up a few RISCV_*_REGNUM definitions.
    Changed whitespace to match existing code style.
    timsifive committed Apr 8, 2016
    Configuration menu
    Copy the full SHA
    33043fd View commit details
    Browse the repository at this point in the history