diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2025-03-17 10:34:30 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2025-03-18 09:39:03 -0400 |
commit | 6eb9dab4c99725c1de4bccfeb99e766e7ee657a4 (patch) | |
tree | 7d30e15adf6cc4021631665819a0f3e688bca7ae /gdb/dwarf2/read-debug-names.c | |
parent | aab6de1613df693059a6a2b505cc8f20d479d109 (diff) | |
download | fsf-binutils-gdb-6eb9dab4c99725c1de4bccfeb99e766e7ee657a4.zip fsf-binutils-gdb-6eb9dab4c99725c1de4bccfeb99e766e7ee657a4.tar.gz fsf-binutils-gdb-6eb9dab4c99725c1de4bccfeb99e766e7ee657a4.tar.bz2 |
gdb/dwarf: set m_top_level_die directly in read_cutu_die_from_dwo
read_cutu_die_from_dwo currently returns the dwo's top-level DIE through
a parameter. Following the previous patch, all code paths end up
setting m_top_level_die. Simplify this by having read_cutu_die_from_dwo
set m_top_level_die directly. I think it's easier to understand,
because there's one less indirection to follow.
Change-Id: Ib659f1d2e38501a8fe2b5dd0ca2add3ef55e8d60
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/dwarf2/read-debug-names.c')
0 files changed, 0 insertions, 0 deletions