[PATCHv2] gdb: Initial baremetal riscv support

Simon Marchi simark@simark.ca
Tue Feb 27 03:37:00 GMT 2018


On 2018-02-26 08:09 PM, Andrew Burgess wrote:
> +/* Implement the pseudo_register_read gdbarch method.  */
> +
> +static enum register_status
> +riscv_pseudo_register_read (struct gdbarch *gdbarch,
> +			    struct regcache *regcache,
> +			    int regnum,
> +			    gdb_byte *buf)

Btw, make sure to rebase to latest master.  You'll need to update
this function following a recent change.

Simon



More information about the Gdb-patches mailing list