aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
authorAaron Merey <amerey@redhat.com>2021-11-09 16:47:36 -0500
committerAaron Merey <amerey@redhat.com>2021-11-16 22:29:51 -0500
commitaa95b2d43883666937d31335d0178d2218d9c9aa (patch)
treeeb9f3dc97b6f5e108184897a02221b226978f1b3 /gdb/arch-utils.c
parentc2aad00a7447a32e1f4b0bd558a1bd2b13085381 (diff)
downloadgdb-aa95b2d43883666937d31335d0178d2218d9c9aa.zip
gdb-aa95b2d43883666937d31335d0178d2218d9c9aa.tar.gz
gdb-aa95b2d43883666937d31335d0178d2218d9c9aa.tar.bz2
gdb: Add aliases for read_core_file_mappings callbacks
Add aliases read_core_file_mappings_loop_ftype and read_core_file_mappings_pre_loop_ftype. Intended for use with read_core_file_mappings. Also add build_id parameter to read_core_file_mappings_loop_ftype.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 862f26b..6c6dca2 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -1075,16 +1075,11 @@ default_get_pc_address_flags (frame_info *frame, CORE_ADDR pc)
/* See arch-utils.h. */
void
-default_read_core_file_mappings (struct gdbarch *gdbarch,
- struct bfd *cbfd,
- gdb::function_view<void (ULONGEST count)>
- pre_loop_cb,
- gdb::function_view<void (int num,
- ULONGEST start,
- ULONGEST end,
- ULONGEST file_ofs,
- const char *filename)>
- loop_cb)
+default_read_core_file_mappings
+ (struct gdbarch *gdbarch,
+ struct bfd *cbfd,
+ read_core_file_mappings_pre_loop_ftype pre_loop_cb,
+ read_core_file_mappings_loop_ftype loop_cb)
{
}