From: Simon Marchi <simark@simark.ca>
To: Eli Zaretskii <eliz@gnu.org>, Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 0/2] PR gdb/server/34969
Date: Tue, 10 Nov 2026 10:15:08 -0500 [thread overview]
Message-ID: <026349ae-0f28-4b96-a3e8-9211bd866dfb@simark.ca> (raw)
In-Reply-To: <86zevg268y.fsf@gnu.org>
On 11/10/26 7:58 AM, Eli Zaretskii wrote:
>> From: Kevin Buettner <kevinb@redhat.com>
>> Cc: Kevin Buettner <kevinb@redhat.com>
>> Date: Tue, 10 Nov 2026 00:07:52 -0700
>>
>> This series consists of two parts: a fix and a test case for this
>> upstream bug:
>>
>> https://sourceware.org/bugzilla/show_bug.cgi?id=34969
>>
>> The test case was largely written by Claude Opus 5.5, but was based on
>> earlier work by GLM 5.3 Flash.
>>
>> I have used the GCC AI Policy convention of using the "Assisted-by:"
>> tag in the commit log for the test case. The GCC AI Policy may be
>> found here:
>>
>> https://gcc.gnu.org/ai-policy.html
>>
>> Based on my research into the matter, it seems that the convention
>> is to simply use:
>>
>> Assisted-by: LLM
>>
>> It is my understanding that the GNU LIBC (GLIBC) project is on their
>> way to adopting the GCC policy. More information here:
>>
>> https://inbox.sourceware.org/libc-alpha/7b311b3e-8a35-4622-84e3-7dc57dbcac28@redhat.com/
>>
>> In particular, observe Carlos's comment:
>>
>> "I think we should also approach binutils and gdb to harmonize the
>> policy there."
>
> By contrast, the whole GNU Project was asked by RMS not to accept
> LLM-generated code until the lawyers asked to provide recommendations
> in this regard complete their work:
>
> https://lists.gnu.org/mailman/private/gnu-prog/2026/000237.html
>
> Did we decide to go the GCC way and basically disregard RMS's request?
I think it would make sense for us to align with gcc and glibc on that.
Allowing some legally significant LLM output in the tests seems less
risky to me than allowing some legally significant LLM output in the
actual programs, because worst case we can just delete the tests and the
programs we ship won't be affected. And from my experience, I can tell
that LLMs are extremely good to generate thorough test cases, which is a
task that is quite difficult, boring and time-consuming for humans, and
that can really benefit the project. So it seems low risk high reward
to me.
Simon
next prev parent reply other threads:[~2026-11-10 15:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-10 7:07 Kevin Buettner
2026-11-10 7:07 ` [PATCH 1/2] gdbserver: reject malformed agent expressions in gdb_parse_agent_expr Kevin Buettner
2026-11-10 7:07 ` [PATCH 2/2] gdb/testsuite: test malformed agent expressions sent to gdbserver Kevin Buettner
2026-11-11 12:36 ` Andrew Burgess
2026-11-10 12:58 ` [PATCH 0/2] PR gdb/server/34969 Eli Zaretskii
2026-11-10 15:15 ` Simon Marchi [this message]
2026-11-11 6:13 ` Kevin Buettner
2026-11-11 12:37 ` Eli Zaretskii
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=026349ae-0f28-4b96-a3e8-9211bd866dfb@simark.ca \
--to=simark@simark.ca \
--cc=eliz@gnu.org \
--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