From 8181f0045df765a7f28db745f4a8bd3c5a1da82d Mon Sep 17 00:00:00 2001 From: Luis Machado Date: Thu, 17 Nov 2022 10:19:30 +0000 Subject: Document the memory_tagged argument for memory region callbacks There were no comments in some instances (gdb/defs.h, gdb/core.c and gdb/linux-tdep.c), so address that by adding comments where those are missing. --- gdb/linux-tdep.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gdb/linux-tdep.c') diff --git a/gdb/linux-tdep.c b/gdb/linux-tdep.c index 0a2fced..c30d9fb 100644 --- a/gdb/linux-tdep.c +++ b/gdb/linux-tdep.c @@ -1695,7 +1695,10 @@ struct linux_make_mappings_data static linux_find_memory_region_ftype linux_make_mappings_callback; /* A callback for linux_find_memory_regions_full that updates the - mappings data for linux_make_mappings_corefile_notes. */ + mappings data for linux_make_mappings_corefile_notes. + + MEMORY_TAGGED is true if the memory region contains memory tags, false + otherwise. */ static int linux_make_mappings_callback (ULONGEST vaddr, ULONGEST size, -- cgit v1.1