* [pushed] Fix typo in python.c:do_initialize
@ 2026-09-06 19:58 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2026-09-06 19:58 UTC (permalink / raw)
To: gdb-patches; +Cc: Tom Tromey
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-06 19:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-06 19:58 [pushed] Fix typo in python.c:do_initialize Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox