RE: [PATCH v5 10/15] gdb, ada: update ada_add_all_symbols

Metzger, Markus T via Gdb-patches
2022-07-19T13:50:15Z

>> I was simply trying to preserve the existing behavior of not knowing about
>> linker namespaces.
>
>I didn't really read through the rest of the series -- was this the rule
>followed elsewhere? I think it shouldn't be, because in gdb a linespec
>should find all the matches.

The patch series adds a C test that covers breakpoints on source line
getting set in all DSOs in all namespaces.

A handful of patches, including this one, tries to replace direct objfile traversals
with gdbarch_iterate_over_objfiles_in_search_order.

>> Would you want me to drop the patch to keep the objfile traversal and
>> collect all symbols from all namespaces?
>
>I think so.

Dropped.

regards,
markus.