summaryrefslogtreecommitdiff
path: root/gdb/memattr.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/memattr.h')
-rw-r--r--gdb/memattr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/memattr.h b/gdb/memattr.h
index 046af689635..077ccee86c5 100644
--- a/gdb/memattr.h
+++ b/gdb/memattr.h
@@ -26,6 +26,7 @@
enum mem_access_mode
{
+ MEM_NONE, /* Memory that is not physically present. */
MEM_RW, /* read/write */
MEM_RO, /* read only */
MEM_WO, /* write only */
@@ -76,7 +77,10 @@ struct mem_attrib
struct mem_region
{
+ /* Lowest address in the region. */
CORE_ADDR lo;
+ /* Address past the highest address of the region.
+ If 0, upper bound is "infinity". */
CORE_ADDR hi;
/* Item number of this memory region. */