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 sim/aarch64: Fix register ordering bug in blr (PR sim/25318) 2020-02-06 22:50:26 +00:00
arm [ARM, sim] Fix build failure with -Werror (PR26365) 2020-08-13 10:32:52 -03:00
avr Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
bfin sim/bfin: include config/pkg.m4 in configure.ac 2020-08-21 11:55:08 -04:00
bpf bpf: simulator: correct div, mod insn semantics 2020-09-08 11:39:07 -07:00
common [sim] Fix mbuild build breaker in sim-cpu.c 2020-08-10 17:26:09 +02:00
cr16 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
cris Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
d10v Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
erc32 Run autoreconf -vf throughout 2020-07-29 16:03:55 -04:00
frv Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
ft32 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
h8300 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
igen sim/igen: Fix linker error with -fno-common 2020-07-03 21:03:47 +02:00
iq2000 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
lm32 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
m32c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
m32r sim/m32r: return register sizes after fetch and store 2020-09-18 17:26:07 +01:00
m68hc11 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mcore Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
microblaze Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mips Run autoreconf -vf throughout 2020-07-29 16:03:55 -04:00
mn10300 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
moxie Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
msp430 MSP430: sim: Increase main memory region size 2020-08-07 11:01:22 +01:00
or1k Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
ppc sim/ppc: Fix linker error with -fno-common 2020-07-03 18:47:40 +02:00
pru Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
rl78 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
rx Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
sh Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
sh64 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
testsuite bpf: simulator: correct div, mod insn semantics 2020-09-08 11:39:07 -07:00
v850 Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
.gitignore
ChangeLog bpf: simulator: correct div, mod insn semantics 2020-09-08 11:39:07 -07:00
configure sim: better handle builds of primary targets lacking sims 2020-09-03 18:21:20 +02:00
configure.ac sim: better handle builds of primary targets lacking sims 2020-09-03 18:21:20 +02:00
configure.tgt sim: eBPF simulator 2020-08-04 18:09:16 +02:00
MAINTAINERS sim: eBPF simulator 2020-08-04 18:09:16 +02:00
Makefile.in Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
README-HACKING