diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2022-12-13 22:34:32 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-01-20 14:48:56 -0500 |
commit | b23bf9f7241caecc41127a5739dfb32788b041a6 (patch) | |
tree | 8194b98fcf71be01e2c18f376367691c6e0c4a9d /libiberty/filedescriptor.c | |
parent | 83b6e1f1c52c632a7b554674306cc586e03f7855 (diff) | |
download | gdb-b23bf9f7241caecc41127a5739dfb32788b041a6.zip gdb-b23bf9f7241caecc41127a5739dfb32788b041a6.tar.gz gdb-b23bf9f7241caecc41127a5739dfb32788b041a6.tar.bz2 |
gdb: move sect_offset and cu_offset to dwarf2/types.h
I want to move the call_site stuff out of gdbtypes.h, to a new header
file, to break some cyclic include problem. The call_site stuff uses
cu_offset, also defined in gdbtypes.h, so cu_offset also needs to move
somewhere else (otherwise, call-site.h will need to include gdbtypes.h,
and we are back to square 1). I could move cu_offset to the future new
file dwarf2/call-site.h, but it doesn't sound like a good place for it,
at cu_offset is not specific to call sites, it's used throughout
dwarf2/. So, move it to its own file, dwarf2/types.h. For now,
gdbtypes.h includes dwarf2/types.h, but that will be removed once the
call site stuff is moved to its own file.
Move sect_offset with it too. sect_offset is not a DWARF-specific
concept, but for the moment it is only used in dwarf2/.
Change-Id: I1fd2a3b7b67dee789c4874244b044bde7db43d8e
Reviewed-By: Bruno Larsen <blarsen@redhat.com>
Diffstat (limited to 'libiberty/filedescriptor.c')
0 files changed, 0 insertions, 0 deletions