about summary refs log tree commit diff
path: root/pkgs/development/python-modules/debugpy/hardcode-gdb.patch
blob: 2fe09a70151a080e8ddc0e90d50e567e1e42d790 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py
index ed43e370..d3d6669a 100644
--- a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py
+++ b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py
@@ -404,7 +404,7 @@ def run_python_code_linux(pid, python_code, connect_debugger_tracing=False, show
     is_debug = 0
     # Note that the space in the beginning of each line in the multi-line is important!
     cmd = [
-        'gdb',
+        '@gdb@/bin/gdb',
         '--nw',  # no gui interface
         '--nh',  # no ~/.gdbinit
         '--nx',  # no .gdbinit