[PATCH 1/4] gdb: use mapped file information to improve debuginfod text

Tom Tromey tom@tromey.com
Tue Oct 1 17:24:40 GMT 2024


>>>>> "Andrew" == Andrew Burgess <aburgess@redhat.com> writes:

Andrew> For the unlikely edge case of a core-file that has build-ids, but
Andrew> doesn't have any mapped file information then I propose that we
Andrew> synthesis a filename like: 'with build-id xxxxxx'.  We would then see
Andrew> a message like:

Andrew>   Downloading file with build-id xxxxxx...

Andrew> Where 'xxxxxx' would be replaced by the actual build-id.

Andrew> This isn't ideal, but I think is good enough, and, as I said, I think
Andrew> this case is not going to be hit very often, or maybe at all.

I actually think this is better, because it is more precise about what
gdb is doing.

Anyway this looks fine to me.
Approved-By: Tom Tromey <tom@tromey.com>

Tom


More information about the Gdb-patches mailing list