mirror of
https://github.com/python/cpython.git
synced 2026-06-19 08:02:29 +00:00
[3.14] gh-137293: Ignore Exceptions when searching ELF File in Remote Debug (GH-137309) (#149391)
gh-137293: Ignore Exceptions when searching ELF File in Remote Debug (GH-137309)
(cherry picked from commit 2995d45659)
Co-authored-by: Uxío García Andrade <uxiog21@gmail.com>
This commit is contained in:
parent
a458589a7e
commit
3f8c485660
2 changed files with 2 additions and 0 deletions
|
|
@ -762,6 +762,7 @@ search_linux_map_for_section(proc_handle_t *handle, const char* secname, const c
|
|||
}
|
||||
|
||||
if (strstr(filename, substr)) {
|
||||
PyErr_Clear();
|
||||
retval = search_elf_file_for_section(handle, secname, start, path);
|
||||
if (retval
|
||||
&& (validator == NULL || validator(handle, retval)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue