commit | 6eb9dab4c99725c1de4bccfeb99e766e7ee657a4 | [log] [tgz] |
---|---|---|
author | Simon Marchi <simon.marchi@polymtl.ca> | Mon Mar 17 10:34:30 2025 -0400 |
committer | Simon Marchi <simon.marchi@polymtl.ca> | Tue Mar 18 09:39:03 2025 -0400 |
tree | 7d30e15adf6cc4021631665819a0f3e688bca7ae | |
parent | aab6de1613df693059a6a2b505cc8f20d479d109 [diff] |
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>