Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
To: Tom Tromey <tom@tromey.com>
Cc: Kevin Buettner <kevinb@redhat.com>,
	gcc-patches@gcc.gnu.org, gdb-patches@sourceware.org
Subject: Re: [PATCH] contrib: Make dg-extract-results.py tolerant of unparseable files
Date: Thu, 28 May 2026 16:38:47 -0700	[thread overview]
Message-ID: <CALvbMcCbhuFAaX+NKFNay7nxm3KMNPL7sUqeGCckawMxDX-zGw@mail.gmail.com> (raw)
In-Reply-To: <CALvbMcAtsoNrNz43Tqstw+Wtppo1ihMSm2G9EM8=ZaipwYsJ1g@mail.gmail.com>

On Thu, May 28, 2026 at 12:21 PM Andrew Pinski
<andrew.pinski@oss.qualcomm.com> wrote:
>
> On Thu, May 28, 2026 at 12:03 PM Tom Tromey <tom@tromey.com> wrote:
> >
> > >>>>> "Kevin" == Kevin Buettner <kevinb@redhat.com> writes:
> >
> > Kevin> This commit fixes this GDB bug:
> > Kevin> https://sourceware.org/bugzilla/show_bug.cgi?id=34147
> >
> > FWIW I think this should go in.
>
> This is on my list of patches to review this week. I hope to get to it
> today or tomorrow.
>
> >
> > It would be fine to land it in gdb and then merge it back.
> > I think we agreed that common files could be treated this way now.
> >
> > Kevin> +class ParseError (Exception):
> >
> > I guess gcc doesn't use 'black' for Python formatting.
>
> GCC coding style has a section on python formatting:
> https://gcc.gnu.org/codingconventions.html#python
> But I don't know much about python formatting to say much there.

So looking into this further I see nobody has been following that either.
I don't know about the history here either.
Now I do think we (GCC and GDB) should standardized on a format. In
this case the folks who knew python the most in the GCC community I
don't see around any more. So picking up the same formatting as gdb
would make sense. And we can get the forge to do the checking there
for us.

Thanks,
Andrea

>
> Thanks,
> Andrea
>
>
> >
> > thanks,
> > Tom

  reply	other threads:[~2026-05-28 23:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-14 18:15 Kevin Buettner
2026-05-28 19:01 ` Tom Tromey
2026-05-28 19:21   ` Andrew Pinski
2026-05-28 23:38     ` Andrew Pinski [this message]
2026-05-29  0:53       ` Simon Marchi
2026-05-28 23:35 ` Andrew Pinski
2026-05-29 20:04   ` Kevin Buettner
2026-05-30  0:48     ` Kevin Buettner

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=CALvbMcCbhuFAaX+NKFNay7nxm3KMNPL7sUqeGCckawMxDX-zGw@mail.gmail.com \
    --to=andrew.pinski@oss.qualcomm.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=kevinb@redhat.com \
    --cc=tom@tromey.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