Skip to content

Commit 04d34df

Browse files
Update remote_debugging.c
1 parent bd00b78 commit 04d34df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/remote_debugging.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ get_py_runtime(proc_handle_t* handle)
553553
#else
554554
const char* secname = "PyRuntime";
555555
#endif
556-
address = search_windows_map_for_section(handle, "PyRuntime", L"python");
556+
address = search_windows_map_for_section(handle, secname, L"python");
557557
if (address == 0) {
558558
// Error out: 'python' substring covers both executable and DLL
559559
PyErr_SetString(PyExc_RuntimeError, "Failed to find the PyRuntime section in the process.");

0 commit comments

Comments
 (0)