diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2025-03-10 14:55:12 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2025-03-10 16:09:02 -0400 |
commit | ae2a50a9ae15c6a7fdb1f6255bb9bf45ad2a67d4 (patch) | |
tree | 79e687a3561e856f901a21c99ec9d68ec387819f /gdb/dwarf2/section.h | |
parent | e9386435c94f10c3d047142fdb9b85f1486e2f14 (diff) | |
download | binutils-ae2a50a9ae15c6a7fdb1f6255bb9bf45ad2a67d4.zip binutils-ae2a50a9ae15c6a7fdb1f6255bb9bf45ad2a67d4.tar.gz binutils-ae2a50a9ae15c6a7fdb1f6255bb9bf45ad2a67d4.tar.bz2 |
attempt to revamp to the CU/TU list
Change-Id: I1c8214413583d540c10c9a2322ef2a21f8bb54e7
Diffstat (limited to 'gdb/dwarf2/section.h')
-rw-r--r-- | gdb/dwarf2/section.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/dwarf2/section.h b/gdb/dwarf2/section.h index 09bddd4..9b0a408 100644 --- a/gdb/dwarf2/section.h +++ b/gdb/dwarf2/section.h @@ -43,6 +43,8 @@ the real section this "virtual" section is contained in, and BUFFER,SIZE describe the virtual section. */ +#include "dwarf2/types.h" + struct dwarf2_section_info { /* Return the name of this section. */ @@ -125,4 +127,12 @@ struct dwarf2_section_info bool is_virtual; }; +/* A pair-like structure to represent an offset into a section. */ + +struct section_and_offset +{ + const dwarf2_section_info *section; + sect_offset offset; +}; + #endif /* GDB_DWARF2_SECTION_H */ |