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/defs.h | |
parent | 829b6b3736d972f5fbacda09c82b31802d3b594c (diff) | |
download | gdb-8181f0045df765a7f28db745f4a8bd3c5a1da82d.zip gdb-8181f0045df765a7f28db745f4a8bd3c5a1da82d.tar.gz 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/defs.h')
-rw-r--r-- | gdb/defs.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -340,8 +340,12 @@ extern const char *pc_prefix (CORE_ADDR); /* * Process memory area starting at ADDR with length SIZE. Area is readable iff READ is non-zero, writable if WRITE is non-zero, executable if EXEC is non-zero. Area is possibly changed against - its original file based copy if MODIFIED is non-zero. DATA is - passed without changes from a caller. */ + its original file based copy if MODIFIED is non-zero. + + MEMORY_TAGGED is true if the memory region contains memory tags, false + otherwise. + + DATA is passed without changes from a caller. */ typedef int (*find_memory_region_ftype) (CORE_ADDR addr, unsigned long size, int read, int write, int exec, |