Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Dmitry Ivanov <dmitry.ivanov1@huawei.com>
Cc: <tom@tromey.com>,  <gdb-patches@sourceware.org>
Subject: Re: [PATCH v2] gdb/python: Handle unnamed frames in caller-matching functions git commit --amend gdb.Frame.name() can return None when GDB cannot determine a frame's function name. and currently pass that value directly to Python's regular expression functions, causing a TypeError.
Date: Fri, 06 Nov 2026 09:46:10 -0700	[thread overview]
Message-ID: <87bj81x60d.fsf@tromey.com> (raw)
In-Reply-To: <20261106072553.210018-1-dmitry.ivanov1@huawei.com> (Dmitry Ivanov's message of "Fri, 6 Nov 2026 07:25:53 +0000")

>>>>> "Dmitry" == Dmitry Ivanov <dmitry.ivanov1@huawei.com> writes:

Dmitry> Treat unnamed frames as having empty names.
Dmitry> Add regression tests for both convenience functions.
Dmitry> ---
Dmitry> Hi Tom,

Dmitry> Thanks for the review. I've updated the patch to treat unnamed
Dmitry> frame names as empty strings, as suggested, and adjusted the
Dmitry> documentation and tests accordingly.

Looks good to me.  Thank you.
Approved-By: Tom Tromey <tom@tromey.com>

I guess based on the test that we will need a copyright assignment from
you.  Do you have one already?  I don't know.

thanks
Tom

      parent reply	other threads:[~2026-11-06 16:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <b555285517bf4506b85c0421ea062784@huawei.com>
2026-10-13 11:35 ` [PATCH] gdb/python: Handle unnamed frames in caller-matching functions Dmitry Ivanov (A)
2026-10-14 16:04   ` Tom Tromey
2026-11-06  7:25     ` [PATCH v2] gdb/python: Handle unnamed frames in caller-matching functions git commit --amend gdb.Frame.name() can return None when GDB cannot determine a frame's function name. and currently pass that value directly to Python's regular expression functions, causing a TypeError Dmitry Ivanov
2026-11-06 10:26       ` Eli Zaretskii
2026-11-06 16:46       ` Tom Tromey [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=87bj81x60d.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=dmitry.ivanov1@huawei.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