diff options
author | Luis Machado <luis.machado@arm.com> | 2022-11-17 10:19:30 +0000 |
---|---|---|
committer | Luis Machado <luis.machado@arm.com> | 2022-11-23 09:45:48 +0000 |
commit | 8181f0045df765a7f28db745f4a8bd3c5a1da82d (patch) | |
tree | f4299e3f63776fa3e51f88f0458102a99a54adb6 /gdb/linux-tdep.c | |
parent | 829b6b3736d972f5fbacda09c82b31802d3b594c (diff) | |
download | fsf-binutils-gdb-8181f0045df765a7f28db745f4a8bd3c5a1da82d.zip fsf-binutils-gdb-8181f0045df765a7f28db745f4a8bd3c5a1da82d.tar.gz fsf-binutils-gdb-8181f0045df765a7f28db745f4a8bd3c5a1da82d.tar.bz2 |
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.
Diffstat (limited to 'gdb/linux-tdep.c')
-rw-r--r-- | gdb/linux-tdep.c | 5 |
1 files changed, 4 insertions, 1 deletions
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, |