diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-12-01 11:27:29 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-12-14 16:04:49 +0000 |
commit | 7f0f3b0f5659f21815ef87e1e9e120213a4f347b (patch) | |
tree | d91d628c9d655a06b093d3ab3193760bbd472475 /gdb/aarch64-tdep.c | |
parent | d1340b1763f08906de8575d0e4bac8860bc92295 (diff) | |
download | binutils-7f0f3b0f5659f21815ef87e1e9e120213a4f347b.zip binutils-7f0f3b0f5659f21815ef87e1e9e120213a4f347b.tar.gz binutils-7f0f3b0f5659f21815ef87e1e9e120213a4f347b.tar.bz2 |
gdb: rename gdbarch_pseudo_register_write to gdbarch_deprecated_pseudo_register_write
The next patch introduces a new variant of gdbarch_pseudo_register_write
that takes a frame instead of a regcache for implementations to write
raw registers. Rename to old one to make it clear it's deprecated.
Change-Id: If8872c89c6f8a1edfcab983eb064248fd5ff3115
Reviewed-By: John Baldwin <jhb@FreeBSD.org>
Diffstat (limited to 'gdb/aarch64-tdep.c')
-rw-r--r-- | gdb/aarch64-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c index d901b69..5b2d87b 100644 --- a/gdb/aarch64-tdep.c +++ b/gdb/aarch64-tdep.c @@ -4481,7 +4481,7 @@ aarch64_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_num_pseudo_regs (gdbarch, num_pseudo_regs); set_gdbarch_pseudo_register_read_value (gdbarch, aarch64_pseudo_read_value); - set_gdbarch_pseudo_register_write (gdbarch, aarch64_pseudo_write); + set_gdbarch_deprecated_pseudo_register_write (gdbarch, aarch64_pseudo_write); set_tdesc_pseudo_register_name (gdbarch, aarch64_pseudo_register_name); set_tdesc_pseudo_register_type (gdbarch, aarch64_pseudo_register_type); set_tdesc_pseudo_register_reggroup_p (gdbarch, |