diff options
| author | Tom Tromey <tom@tromey.com> | 2025-12-08 07:50:48 -0700 |
|---|---|---|
| committer | Tom Tromey <tom@tromey.com> | 2026-01-06 10:12:55 -0700 |
| commit | 1a7734d6c540a810e81bf8bf95bd4d33f3c56df5 (patch) | |
| tree | 684ffe7d505a578be4039d93d3884aa81f934453 /gdb/python | |
| parent | 7b4d1374452f7e2847def3e54f409fb6e096e707 (diff) | |
| download | binutils-1a7734d6c540a810e81bf8bf95bd4d33f3c56df5.tar.gz binutils-1a7734d6c540a810e81bf8bf95bd4d33f3c56df5.tar.bz2 binutils-1a7734d6c540a810e81bf8bf95bd4d33f3c56df5.zip | |
Small cleanup to interpreter initialization
interp::inited is currently public, because interp_set does the task
of making sure the interpreter is only initialized a single time.
However, the interpreter can do this job itself, and this member can
be private.
Diffstat (limited to 'gdb/python')
| -rw-r--r-- | gdb/python/py-dap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-dap.c b/gdb/python/py-dap.c index 37c1dd536c4..47d90e51938 100644 --- a/gdb/python/py-dap.c +++ b/gdb/python/py-dap.c @@ -34,7 +34,7 @@ public: ~dap_interp () override = default; - void init (bool top_level) override; + void do_init (bool top_level) override; void suspend () override { @@ -92,7 +92,7 @@ call_dap_fn (const char *fn_name) } void -dap_interp::init (bool top_level) +dap_interp::do_init (bool top_level) { #if CXX_STD_THREAD call_dap_fn ("run"); |
