Skip to content

Commit da6b2c0

Browse files
committed
up
1 parent 312222f commit da6b2c0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Modules/_remote_debugging/frames.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ process_single_stack_chunk(
3636
return -1;
3737
}
3838

39-
if (_Py_RemoteDebug_PagedReadRemoteMemory(&unwinder->handle, chunk_addr, current_size, this_chunk) < 0) {
39+
if (_Py_RemoteDebug_ReadRemoteMemory(&unwinder->handle, chunk_addr, current_size, this_chunk) < 0) {
4040
PyMem_RawFree(this_chunk);
4141
set_exception_cause(unwinder, PyExc_RuntimeError, "Failed to read stack chunk");
4242
return -1;
@@ -65,7 +65,7 @@ process_single_stack_chunk(
6565
}
6666
this_chunk = tmp;
6767

68-
if (_Py_RemoteDebug_PagedReadRemoteMemory(&unwinder->handle, chunk_addr, actual_size, this_chunk) < 0) {
68+
if (_Py_RemoteDebug_ReadRemoteMemory(&unwinder->handle, chunk_addr, actual_size, this_chunk) < 0) {
6969
PyMem_RawFree(this_chunk);
7070
set_exception_cause(unwinder, PyExc_RuntimeError, "Failed to reread stack chunk with correct size");
7171
return -1;

0 commit comments

Comments
 (0)