diff options
| author | MetaDark <kira.bruneau@gmail.com> | 2020-06-06 18:06:28 -0400 |
|---|---|---|
| committer | Jon <jonringer@users.noreply.github.com> | 2020-07-03 12:15:09 -0700 |
| commit | a408cd9e7ca97fed8fd2acd73d3082806bb73397 (patch) | |
| tree | e9ea0088db325e6b21b7be27b18a5d2a38e76270 /pkgs/development/python-modules/debugpy/hardcode-gdb.patch | |
| parent | e932a720893afb61bf320e7bf23f79e6e5ee3472 (diff) | |
pythonPackages.debugpy: init at 1.0.0b12
Diffstat (limited to 'pkgs/development/python-modules/debugpy/hardcode-gdb.patch')
| -rw-r--r-- | pkgs/development/python-modules/debugpy/hardcode-gdb.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/debugpy/hardcode-gdb.patch b/pkgs/development/python-modules/debugpy/hardcode-gdb.patch new file mode 100644 index 000000000000..780cb1aed1c4 --- /dev/null +++ b/pkgs/development/python-modules/debugpy/hardcode-gdb.patch @@ -0,0 +1,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 6d031b4..ecf21f2 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 +@@ -293,7 +293,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 |
