On Thu, Jan 10, 2019 at 4:26 AM Mark Wielaard <m...@klomp.org> wrote: > The comments explain things well, but it would be good to have official > references to the calling convention and DWARF register mappings. > The calling convention is explained in: > > https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md#procedure-calling-convention > But I couldn't find an official DWARF register mapping. > If you have references I like to add them to the code.
There is an issue asking us to add DWARF register mappings. This was filed before gdb was upstream and so some the comments are out of date, but most of the info is still correct. https://github.com/riscv/riscv-elf-psabi-doc/issues/70 I guess I should put that on my to do list to finish this now. Jim