diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2025-02-09 00:51:02 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2025-02-10 11:28:56 -0500 |
commit | de33cf88daf58cf8322867389afa9bcf3e377696 (patch) | |
tree | 1a1781e9d9f11d26c2e3a257e9eb1e82baecb294 /gdb/python | |
parent | ad6dde5aaae846176fcc984e438ee7c187f27044 (diff) | |
download | binutils-de33cf88daf58cf8322867389afa9bcf3e377696.zip binutils-de33cf88daf58cf8322867389afa9bcf3e377696.tar.gz binutils-de33cf88daf58cf8322867389afa9bcf3e377696.tar.bz2 |
gdb/dwarf: allow for cooked_index_shard::m_addrmap to be nullptr
The following patch makes the .debug_names reader create multiple cooked
index shards, only one of them having an address map. The others will
have a nullptr address map.
Change the code using cooked_index_shard::m_addrmap to account for the
fact that it can be nullptr.
Change-Id: Id05b974e661d901dd43bb5ecb3a8fcfc15abc7ed
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions