diff options
author | Aaron Merey <amerey@redhat.com> | 2021-11-09 16:47:36 -0500 |
---|---|---|
committer | Aaron Merey <amerey@redhat.com> | 2021-11-16 22:29:51 -0500 |
commit | aa95b2d43883666937d31335d0178d2218d9c9aa (patch) | |
tree | eb9f3dc97b6f5e108184897a02221b226978f1b3 /gdb/corelow.c | |
parent | c2aad00a7447a32e1f4b0bd558a1bd2b13085381 (diff) | |
download | binutils-gdb-aa95b2d43883666937d31335d0178d2218d9c9aa.tar.gz |
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/corelow.c')
-rw-r--r-- | gdb/corelow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/corelow.c b/gdb/corelow.c index 5f48d96aa12..10942e6af01 100644 --- a/gdb/corelow.c +++ b/gdb/corelow.c @@ -214,7 +214,7 @@ core_target::build_file_mappings () /* read_core_file_mappings will invoke this lambda for each mapping that it finds. */ [&] (int num, ULONGEST start, ULONGEST end, ULONGEST file_ofs, - const char *filename) + const char *filename, const bfd_build_id *build_id) { /* Architecture-specific read_core_mapping methods are expected to weed out non-file-backed mappings. */ |