aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 1b8cd2a..f37df1b 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -84,6 +84,9 @@ typedef bfd_byte gdb_byte;
/* An address in the program being debugged. Host byte order. */
typedef bfd_vma CORE_ADDR;
+/* The largest CORE_ADDR value. */
+#define CORE_ADDR_MAX (~ (CORE_ADDR) 0)
+
/* This is to make sure that LONGEST is at least as big as CORE_ADDR. */
#ifndef LONGEST