mirror of
https://github.com/python/cpython.git
synced 2025-10-25 18:54:53 +00:00
gh-139275: Fix compilation of Modules/_remote_debugging_module.c when the system doesn't have process_vm_readv (#139307)
This commit is contained in:
parent
7ce25edb8f
commit
1963e70100
3 changed files with 4 additions and 2 deletions
|
|
@ -891,7 +891,7 @@ _Py_RemoteDebug_GetPyRuntimeAddress(proc_handle_t* handle)
|
|||
handle->pid);
|
||||
_PyErr_ChainExceptions1(exc);
|
||||
}
|
||||
#elif defined(__linux__)
|
||||
#elif defined(__linux__) && HAVE_PROCESS_VM_READV
|
||||
// On Linux, search for 'python' in executable or DLL
|
||||
address = search_linux_map_for_section(handle, "PyRuntime", "python");
|
||||
if (address == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue