8sa1-binutils-gdb/sim
Andrew Burgess e163628395 sim/m32r: return register sizes after fetch and store
The m32r simulator currently always returns -1 for the register size
after both a fetch and a store.  In the fetch case GDB is forgiving of
this, but in the store case GDB treats a return value of -1 as an
error.

This commit updates the m32r simulator to return a valid register size
when fetching or storing a register.  This fixes any GDB test that
writes to a register, which will include any GDB test that makes an
inferior call, for example gdb.base/break.exp.

sim/m32r/ChangeLog:

	* m32r.c (m32rbf_register_size): New function.
	(m32rbf_fetch_register): Use new function.
	(m32rbf_store_register): Likewise.
2020-09-18 17:26:07 +01:00
..
aarch64
arm
avr
bfin
bpf bpf: simulator: correct div, mod insn semantics 2020-09-08 11:39:07 -07:00
common
cr16
cris
d10v
erc32
frv
ft32
h8300
igen
iq2000
lm32
m32c
m32r sim/m32r: return register sizes after fetch and store 2020-09-18 17:26:07 +01:00
m68hc11
mcore
microblaze
mips
mn10300
moxie
msp430
or1k
ppc
pru
rl78
rx
sh
sh64
testsuite bpf: simulator: correct div, mod insn semantics 2020-09-08 11:39:07 -07:00
v850
.gitignore
ChangeLog bpf: simulator: correct div, mod insn semantics 2020-09-08 11:39:07 -07:00
configure
configure.ac
configure.tgt
MAINTAINERS
Makefile.in
README-HACKING