Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: gdb-patches@sourceware.org
Cc: Tom Tromey <tom@tromey.com>
Subject: [pushed] Fix typo in python.c:do_initialize
Date: Sun,  6 Sep 2026 13:58:47 -0600	[thread overview]
Message-ID: <20260906195847.3069603-1-tom@tromey.com> (raw)

I noticed that python.c:do_initialize references a function by the
wrong name.  This patch corrects the error.
---
 gdb/python/python.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/python/python.c b/gdb/python/python.c
index 14c243b135e..6b95706ca93 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -3005,7 +3005,7 @@ do_initialize (const struct extension_language_defn *extlang)
      initialized to an empty list following any of the PyConfig
      initialization functions.  If it does turn out that some kind of
      initialization is still needed, it should be added to the
-     PyConfig-based initialization in do_start_initialize().  */
+     PyConfig-based initialization in do_start_initialization().  */
 #if PY_VERSION_HEX < 0x030a0000
   /* If sys.path is not defined yet, define it first.  */
   if (!(sys_path && PyList_Check (sys_path)))
-- 
2.49.0


                 reply	other threads:[~2026-09-06 19:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20260906195847.3069603-1-tom@tromey.com \
    --to=tom@tromey.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