]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/dwarf2/cooked-index.c
gdb/symtab: Make cooked_index_entry::parent_entry private
authorTom de Vries <tdevries@suse.de>
Wed, 10 Jan 2024 09:06:35 +0000 (10:06 +0100)
committerTom de Vries <tdevries@suse.de>
Wed, 10 Jan 2024 09:06:35 +0000 (10:06 +0100)
commit850fce8baf0a19f911e6c891c13447292928e987
treea75fb7d281b55b4c1807513234c92d072602558b
parent920bcec068d9416dc8891b79bb49d0d83e6a3857
gdb/symtab: Make cooked_index_entry::parent_entry private

Make cooked_index_entry::parent_entry private, and add member functions to
access it.

Tested on x86_64-linux and ppc64le-linux.
Tested-By: Alexandra Petlanova Hajkova <ahajkova@redhat.com>
Approved-By: Tom Tromey <tom@tromey.com>
gdb/dwarf2/cooked-index.c
gdb/dwarf2/cooked-index.h
gdb/dwarf2/read.c