aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbcore.h
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/gdbcore.h
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/gdbcore.h')
-rw-r--r--gdb/gdbcore.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/gdbcore.h b/gdb/gdbcore.h
index 66e81df..0a69d36a 100644
--- a/gdb/gdbcore.h
+++ b/gdb/gdbcore.h
@@ -269,8 +269,7 @@ private:
std::string m_storage;
};
-/* NOTE: cagney/2004-04-05: Replaced by "regset.h" and
- regset_from_core_section(). */
+/* Replaced by the "iterate_over_regset_sections" gdbarch method. */
extern void deprecated_add_core_fns (struct core_fns *cf);
extern int default_core_sniffer (struct core_fns *cf, bfd * abfd);
extern int default_check_format (bfd * abfd);