linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / debugpy / hardcode-gdb.patch
blob780cb1aed1c4447b7420ecd1fb953efcc2955869
1 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
2 index 6d031b4..ecf21f2 100644
3 --- a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py
4 +++ b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py
5 @@ -293,7 +293,7 @@ def run_python_code_linux(pid, python_code, connect_debugger_tracing=False, show
6 is_debug = 0
7 # Note that the space in the beginning of each line in the multi-line is important!
8 cmd = [
9 - 'gdb',
10 + '@gdb@/bin/gdb',
11 '--nw', # no gui interface
12 '--nh', # no ~/.gdbinit
13 '--nx', # no .gdbinit