diff options
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-dap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/python/py-dap.c b/gdb/python/py-dap.c index 2034105..9a00130 100644 --- a/gdb/python/py-dap.c +++ b/gdb/python/py-dap.c @@ -92,10 +92,14 @@ call_dap_fn (const char *fn_name) void dap_interp::init (bool top_level) { +#if CXX_STD_THREAD call_dap_fn ("run"); current_ui->input_fd = -1; current_ui->m_input_interactive_p = false; +#else + error (_("GDB was compiled without threading, which DAP requires")); +#endif } void |