mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
Simplify basic_lookup_transparent_type
This patch changes basic_lookup_transparent_type to always work via the "quick" API -- that is, no separate search of the already-expanded symtabs is needed. This is more efficient when many CUs have already been expanded. It also makes the lookup more consistent, as the result is no longer dependent on the order in which CUs were previously expanded. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=16994 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=16998 Acked-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -6467,7 +6467,7 @@ ada_get_tsd_type (struct inferior *inf)
|
||||
|
||||
if (data->tsd_type == 0)
|
||||
data->tsd_type
|
||||
= lookup_transparent_type ("<ada__tags__type_specific_data>",
|
||||
= lookup_transparent_type ("ada.tags.type_specific_data",
|
||||
SEARCH_TYPE_DOMAIN);
|
||||
return data->tsd_type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user