[3.6] bpo-34007: Skip traceback tests if the Program Counter is not available (GH-9018) by pablogsal · Pull Request #9022 · python/cpython

@pablogsal pablogsal changed the title [3.6] bpo-34007: Skip traceback tests if the Program Counter is not a… [3.6] bpo-34007: Skip traceback tests if the Program Counter is not available (GH-9018)

Aug 31, 2018

@pablogsal

…vailable. (pythonGH-9018)

Sometimes some versions of the shared libraries that are part of the
traceback are compiled in optimised mode and the Program Counter (PC)
is not present, not allowing gdb to walk the frames back. When this
happens, the Python bindings of gdb raise an exception, making the
test impossible to succeed.
(cherry picked from commit f2ef51f)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>