diff options
author | Tom Tromey <tromey@adacore.com> | 2023-04-19 13:36:56 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-06-05 09:59:18 -0600 |
commit | e30deeb0366a978bc45f8c021ef1e51f5e949c87 (patch) | |
tree | d127aaf9c7761480290a3066a695658902135db9 /gdb | |
parent | 987bdf4dfdbdfddc8496712df7f536a6a1a99baf (diff) | |
download | gdb-e30deeb0366a978bc45f8c021ef1e51f5e949c87.zip gdb-e30deeb0366a978bc45f8c021ef1e51f5e949c87.tar.gz gdb-e30deeb0366a978bc45f8c021ef1e51f5e949c87.tar.bz2 |
Move unrelocated_addr to common-types.h
unrelocated_addr is currently defined in symtab.h, but in order to
avoid having to include that in more places, I wanted to move the type
elsewhere. I considered defs.h, but it seemed reasonable to have it
next to CORE_ADDR, which is what this patch does.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/symtab.h | 6 |
1 files changed, 0 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 { |