Move register_dump to regcache-dump.c
authorYao Qi <yao.qi@linaro.org>
Wed, 21 Feb 2018 11:20:03 +0000 (11:20 +0000)
committerYao Qi <yao.qi@linaro.org>
Wed, 21 Feb 2018 11:20:03 +0000 (11:20 +0000)
commit4c74fe6b84d82066eb3f004bacd4a376cd82d140
tree20055992b93b4decb3695f93c53cff7310a0662d
parent796bb0264184e8d9343f041c2f11cb898c0d18ac
Move register_dump to regcache-dump.c

gdb:

2018-02-21  Yao Qi  <yao.qi@linaro.org>

* Makefile.in (COMMON_SFILES): Add regcache-dump.c
* regcache-dump.c: New file.
* regcache.c: Move register_dump to regcache-dump.c.
(maintenance_print_registers): Likewise.
(maintenance_print_raw_registers): Likewise.
(maintenance_print_cooked_registers): Likewise.
(maintenance_print_register_groups): Likewise.
(maintenance_print_remote_registers): Likewise.
(_initialize_regcache): Likewise.
* regcache.h (register_dump): Moved from regcache.c.
gdb/ChangeLog
gdb/Makefile.in
gdb/regcache-dump.c [new file with mode: 0644]
gdb/regcache.c
gdb/regcache.h