mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
Use DW_TAG_module for Ada
In GCC we decided to use DW_TAG_module to represent Ada packages, so make this same decision in gdb. This also updates tag_matches_domain to handle this case.
This commit is contained in:
@@ -678,7 +678,7 @@ public:
|
||||
{
|
||||
/* These entries are synthesized by the reader, and so should not
|
||||
be written. */
|
||||
if (entry->lang == language_ada && entry->tag == DW_TAG_namespace)
|
||||
if (entry->lang == language_ada && entry->tag == DW_TAG_module)
|
||||
return;
|
||||
|
||||
m_name_to_value_set[entry->name].emplace_back (entry);
|
||||
|
||||
Reference in New Issue
Block a user