aboutsummaryrefslogtreecommitdiff
path: root/gdb/riscv-fbsd-tdep.c
diff options
context:
space:
mode:
authorChristian Biesinger <cbiesinger@google.com>2020-01-23 15:52:05 +0100
committerChristian Biesinger <cbiesinger@google.com>2020-01-24 12:34:48 +0100
commit89203d40625ea3c835a19c8a4aff8bdeff479748 (patch)
tree28d293feca1a9cd84a483fd62cbf003914e9f8fa /gdb/riscv-fbsd-tdep.c
parent1ba1ac88011703abcd0271e4f5d00927dc69a09a (diff)
downloadgdb-89203d40625ea3c835a19c8a4aff8bdeff479748.zip
gdb-89203d40625ea3c835a19c8a4aff8bdeff479748.tar.gz
gdb-89203d40625ea3c835a19c8a4aff8bdeff479748.tar.bz2
Update comments about removed function
regset_from_core_section doesn't exist anymore; it has been replaced by the iterate_over_regset_sections gdbarch method. Update comments accordingly to not confuse readers. gdb/ChangeLog: 2020-01-24 Christian Biesinger <cbiesinger@google.com> * aarch64-fbsd-tdep.c (aarch64_fbsd_iterate_over_regset_sections): Update comment. * aarch64-linux-tdep.c (aarch64_linux_iterate_over_regset_sections): Likewise. * arm-fbsd-tdep.c (arm_fbsd_iterate_over_regset_sections): Likewise. * gdbcore.h (deprecated_add_core_fns): Update comment to point to the correct replacement (iterate_over_regset_sections). * riscv-fbsd-tdep.c (riscv_fbsd_iterate_over_regset_sections): Update comment. Change-Id: I5eea4d18e15edae5d6dfd5d0d6241e5b2ae40daa
Diffstat (limited to 'gdb/riscv-fbsd-tdep.c')
-rw-r--r--gdb/riscv-fbsd-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/riscv-fbsd-tdep.c b/gdb/riscv-fbsd-tdep.c
index 8a92959..6e0eb2b 100644
--- a/gdb/riscv-fbsd-tdep.c
+++ b/gdb/riscv-fbsd-tdep.c
@@ -81,7 +81,7 @@ const struct regset riscv_fbsd_fpregset =
regcache_supply_regset, regcache_collect_regset
};
-/* Implement the "regset_from_core_section" gdbarch method. */
+/* Implement the "iterate_over_regset_sections" gdbarch method. */
static void
riscv_fbsd_iterate_over_regset_sections (struct gdbarch *gdbarch,