diff options
-rw-r--r-- | gdb/symtab.h | 6 | ||||
-rw-r--r-- | gdbsupport/common-types.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index d8e3c27..60aa9c7 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -58,12 +58,6 @@ class probe; struct lookup_name_info; struct code_breakpoint; -/* Like a CORE_ADDR, but not directly convertible. This is used to - represent an unrelocated CORE_ADDR. DEFINE_OFFSET_TYPE is not used - here because there's no need to add or subtract values of this - type. */ -enum class unrelocated_addr : CORE_ADDR { }; - /* How to match a lookup name against a symbol search name. */ enum class symbol_name_match_type { diff --git a/gdbsupport/common-types.h b/gdbsupport/common-types.h index 4156021..3717162 100644 --- a/gdbsupport/common-types.h +++ b/gdbsupport/common-types.h @@ -28,6 +28,12 @@ typedef unsigned char gdb_byte; /* * An address in the program being debugged. Host byte order. */ typedef uint64_t CORE_ADDR; +/* Like a CORE_ADDR, but not directly convertible. This is used to + represent an unrelocated CORE_ADDR. DEFINE_OFFSET_TYPE is not used + here because there's no need to add or subtract values of this + type. */ +enum class unrelocated_addr : CORE_ADDR { }; + /* LONGEST must be at least as big as CORE_ADDR. */ typedef int64_t LONGEST; |