diff options
author | Tom Tromey <tom@tromey.com> | 2023-03-19 09:57:48 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-03-28 15:12:43 -0600 |
commit | 257c302c6952fb77af456a44f2ab117fa290c01b (patch) | |
tree | 367d3d762d61b5e6a7e4cf39deaf847a07de948b /gdb | |
parent | 6b3a2759052d1874a5952b7901e2b41890ae992f (diff) | |
download | gdb-257c302c6952fb77af456a44f2ab117fa290c01b.zip gdb-257c302c6952fb77af456a44f2ab117fa290c01b.tar.gz gdb-257c302c6952fb77af456a44f2ab117fa290c01b.tar.bz2 |
Move definition of unrelocated_addr earlier
This moves the definition of unrelocated_addr a bit earlier in
symtab.h, so that it can be used elsewhere in the file.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/symtab.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 5bcf374..6834644 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -58,6 +58,12 @@ 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 { @@ -1536,12 +1542,6 @@ struct rust_vtable_symbol : public symbol }; -/* 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 { }; - /* Each item represents a line-->pc (or the reverse) mapping. This is somewhat more wasteful of space than one might wish, but since only the files which are actually debugged are read in to core, we don't |