aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/py-dap.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/gdb/python/py-dap.c b/gdb/python/py-dap.c
index 47d90e51938..07cd47bdc0e 100644
--- a/gdb/python/py-dap.c
+++ b/gdb/python/py-dap.c
@@ -27,9 +27,9 @@ class dap_interp final : public interp
public:
explicit dap_interp (const char *name)
- : interp (name),
- m_ui_out (new cli_ui_out (gdb_stdout))
+ : interp (name)
{
+ m_ui_out = std::make_unique<cli_ui_out> (m_stdout.get ());
}
~dap_interp () override = default;
@@ -49,12 +49,6 @@ public:
/* Just ignore it. */
}
- void set_logging (ui_file_up logfile, bool logging_redirect,
- bool debug_redirect) override
- {
- /* Just ignore it. */
- }
-
ui_out *interp_ui_out () override
{
return m_ui_out.get ();