summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/debugpy/hardcode-gdb.patch
diff options
context:
space:
mode:
authorKira Bruneau <kira.bruneau@pm.me>2024-09-25 11:16:01 -0400
committerKira Bruneau <kira.bruneau@pm.me>2024-09-25 11:53:07 -0400
commita36e20faceafcbedb0ce3c034d6d460663c01151 (patch)
tree8c86489e74054423e897edc0abecabaa10d4e337 /pkgs/development/python-modules/debugpy/hardcode-gdb.patch
parenta1d92660c6b3b7c26fb883500a80ea9d33321be2 (diff)
python312Packages.debugpy: 1.8.5 -> 1.8.6
Diffstat (limited to 'pkgs/development/python-modules/debugpy/hardcode-gdb.patch')
-rw-r--r--pkgs/development/python-modules/debugpy/hardcode-gdb.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/debugpy/hardcode-gdb.patch b/pkgs/development/python-modules/debugpy/hardcode-gdb.patch
index 5cc68b21b3c6..d977f78771f5 100644
--- a/pkgs/development/python-modules/debugpy/hardcode-gdb.patch
+++ b/pkgs/development/python-modules/debugpy/hardcode-gdb.patch
@@ -1,13 +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 85f3353b..56fab577 100644
+index a1a852a0..0bb91807 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
-@@ -410,7 +410,7 @@ def run_python_code_linux(pid, python_code, connect_debugger_tracing=False, show
+@@ -412,7 +412,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",
+ '@gdb@/bin/gdb',
- '--nw', # no gui interface
- '--nh', # no ~/.gdbinit
- '--nx', # no .gdbinit
+ "--nw", # no gui interface
+ "--nh", # no ~/.gdbinit
+ "--nx", # no .gdbinit