diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-11-08 15:58:47 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-11-08 15:58:47 +0000 |
commit | cc977dc7d53ef4546592a4f02a2e06a621beae6f (patch) | |
tree | c0d7af183ac92c1daa7c4ad2c009dfee63137682 /gdb/printcmd.c | |
parent | 3cde5c42d1c1ddcf8bbde5c47233c644370c959c (diff) | |
download | gdb-cc977dc7d53ef4546592a4f02a2e06a621beae6f.zip gdb-cc977dc7d53ef4546592a4f02a2e06a621beae6f.tar.gz gdb-cc977dc7d53ef4546592a4f02a2e06a621beae6f.tar.bz2 |
Use get_frame_register_value instead of deprecated_frame_register_read
This patch calls get_frame_register_value instead of
deprecated_frame_register_read, so that we can pass
value_contents_for_printing to val_print. Both
get_frame_register_value and deprecated_frame_register_read call
frame_unwind_register_value indirectly, so no functionality is changed
by this patch.
gdb:
2016-11-08 Yao Qi <yao.qi@linaro.org>
* mt-tdep.c (mt_registers_info): Call
get_frame_register_value instead of
deprecated_frame_register_read.
* sh64-tdep.c (sh64_do_register): Likewise.
Diffstat (limited to 'gdb/printcmd.c')
0 files changed, 0 insertions, 0 deletions