From 8c175d651586ef87d3ab5404a209cd5d15358642 Mon Sep 17 00:00:00 2001 From: Marco Date: Tue, 6 Feb 2024 15:30:58 +0100 Subject: [PATCH] Switch from custom gdb version to pacman package version --- after/plugin/dap/dap-c.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/after/plugin/dap/dap-c.lua b/after/plugin/dap/dap-c.lua index 73e50df..a4f0c13 100644 --- a/after/plugin/dap/dap-c.lua +++ b/after/plugin/dap/dap-c.lua @@ -1,8 +1,8 @@ local dap = require("dap") dap.adapters.gdb = { type = "executable", - command = "/home/m/dev/sw/binutils-gdb/gdb/gdb", - args = { "-i", "dap", "--data-directory=/home/m/dev/sw/binutils-gdb/gdb/data-directory" } + command = "gdb", + args = { "-i", "dap" } } dap.configurations.c = { @@ -19,3 +19,5 @@ dap.configurations.c = { cwd = "${workspaceFolder}", }, } + +dap.configurations.rust = dap.configurations.c