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.
This commit is contained in:
Luis Machado 2022-11-17 10:19:30 +00:00
parent 829b6b3736
commit 8181f0045d
3 changed files with 20 additions and 5 deletions

View file

@ -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,