From: Andrew Burgess <aburgess@redhat.com>
To: Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCHv2] gdb/build-id: protect against weirdly short build-ids
Date: Thu, 21 Nov 2024 19:39:53 +0000 [thread overview]
Message-ID: <87jzcwml4m.fsf@redhat.com> (raw)
In-Reply-To: <20241121090508.554328c8@f40-zbm-amd>
Kevin Buettner <kevinb@redhat.com> writes:
> On Thu, 21 Nov 2024 14:29:05 +0000
> Andrew Burgess <aburgess@redhat.com> wrote:
>
>> In v2:
>>
>> - Print a debug message when a short build-id is ignored. I did
>> consider a warning, but I wasn't sure if that was suitable or not.
>> In the end some debug output means we can at least diagnose why
>> the debug lookup failed.
>
> I think this is fine. I've worked on bugs in the past where GDB was
> spamming the user with hundreds (or thousands...) of warnings. If
> we were to output a warning for this case, I think it'd be important
> to make sure that it doesn't happen more than a few times per session.
> In any case, I'm happy to see that you've provided a way to diagnose
> the problem.
>
> Approved-by: Kevin Buettner <kevinb@redhat.com>
Pushed.
Thanks,
Andrew
prev parent reply other threads:[~2024-11-21 19:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-19 10:00 [PATCH] " Andrew Burgess
2024-11-20 21:22 ` Kevin Buettner
2024-11-21 14:30 ` Andrew Burgess
2024-11-21 14:29 ` [PATCHv2] " Andrew Burgess
2024-11-21 16:05 ` Kevin Buettner
2024-11-21 19:39 ` Andrew Burgess [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87jzcwml4m.fsf@redhat.com \
--to=aburgess@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=kevinb@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox