Remove MAX_REGISTER_SIZE from remote.c
authorAlan Hayward <alan.hayward@arm.com>
Mon, 27 Feb 2017 09:58:35 +0000 (09:58 +0000)
committerAlan Hayward <alan.hayward@arm.com>
Mon, 27 Feb 2017 09:58:35 +0000 (09:58 +0000)
commit8e3681243c642d667164bd23ae9a376620da0780
treea2311ff7b18870d84e8685aabc08d85692067c09
parenta0aa382843fc5ccbeebf99d8d3c3075ca13e8125
Remove MAX_REGISTER_SIZE from remote.c

gdb/
* regcache.c (regcache_raw_update): New function.
(regcache_raw_read): Move code to regcache_raw_update.
* regcache.h (regcache_raw_update): New declaration.
* remote.c (remote_prepare_to_store): Call regcache_raw_update.
gdb/ChangeLog
gdb/regcache.c
gdb/regcache.h
gdb/remote.c