Re: [PATCH v2] gdb/dwarf: dump cooked index contents in cooked_index_functions::dump

Tom Tromey
2023-01-31T17:51:19Z

>>>>> "Simon" == Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> writes:

>> I think this would be a good improvement. Especially the "No debugging
>> symbols found..." message now being printed, is, I think, a good thing.

Simon> Although I agree with you, given Tom's answer, I will go with the simple
Simon> nullptr check. Hopefully we can being back the "No debugging symbols
Simon> found" message at some later point.

There really is debuginfo -- it's just not usable. So I think it would
be better to print a big red error saying that, because it's probably of
interest to the user.

Maybe "info shared" could also be augmented to share this sort of info.

Tom