]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Pass readable_regcache to gdbarch method read_pc users/qiyao/regcache-split-4-2
authorYao Qi <yao.qi@linaro.org>
Tue, 30 Jan 2018 14:41:17 +0000 (14:41 +0000)
committerYao Qi <yao.qi@linaro.org>
Wed, 7 Feb 2018 09:56:49 +0000 (09:56 +0000)
commitaa3a1b12baa9b28f038b9495ab4b3e6eb9750e96
tree1f0a7686e71c577aa6386c7133771a6f134b4a91
parent9d8da229109644f66a2ecf933ed3ad23c51c786f
Pass readable_regcache to gdbarch method read_pc

We can pass readable_regcache to gdbarch method read_pc where it is
allowed to do read from regcache.

gdb:

2018-01-30  Yao Qi  <yao.qi@linaro.org>

* avr-tdep.c (avr_read_pc): Change parameter type to
readable_regcache.
* gdbarch.sh (read_pc): Likewise.
* gdbarch.c: Re-generated.
* gdbarch.h: Re-generated.
* hppa-tdep.c (hppa_read_pc): Change parameter type to
readable_regcache.
* ia64-tdep.c (ia64_read_pc): Likewise.
* mips-tdep.c (mips_read_pc): Likewise.
* spu-tdep.c (spu_read_pc): Likewise.
gdb/avr-tdep.c
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/hppa-tdep.c
gdb/ia64-tdep.c
gdb/mips-tdep.c
gdb/spu-tdep.c