[Libre-soc-dev] fighting gdb machine-interface
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Mon May 31 17:20:10 BST 2021
gdb mi and gdb reg setting is a pig! there is no way to set FPRs in
"raw" mode, and setting FP registers by way of using vs0-vs31 lower
half results in f0-f31 reading garbage.
re-connecting gdb in *non* mi mode over the same remote socket to qemu
and reading the registers using the standard gdb commandline shows
that yes, the "set" of fp regs had in fact succeeded...
all a bit of a mess that makes it very difficult to achieve what is
desired: automated single-step and co-simulation.
More information about the Libre-soc-dev