Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: gdb-patches@sourceware.org
Cc: Kevin Buettner <kevinb@redhat.com>
Subject: [PATCH 0/2] PR gdb/server/34969
Date: Tue, 10 Nov 2026 00:07:52 -0700	[thread overview]
Message-ID: <20261110074218.1600179-1-kevinb@redhat.com> (raw)

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."

Kevin

Kevin Buettner (2):
  gdbserver: reject malformed agent expressions in gdb_parse_agent_expr
  gdb/testsuite: test malformed agent expressions sent to gdbserver

 .../gdb.server/agent-expr-length.exp          | 188 ++++++++++++++++++
 gdbserver/ax.cc                               |  15 +-
 gdbserver/ax.h                                |   4 +-
 gdbserver/tracepoint.cc                       |  12 ++
 4 files changed, 215 insertions(+), 4 deletions(-)
 create mode 100644 gdb/testsuite/gdb.server/agent-expr-length.exp

-- 
2.56.0


             reply	other threads:[~2026-11-10  7:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-10  7:07 Kevin Buettner [this message]
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
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=20261110074218.1600179-1-kevinb@redhat.com \
    --to=kevinb@redhat.com \
    --cc=gdb-patches@sourceware.org \
    /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