]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34007: Skip traceback tests if the Program Counter is not available. (GH-9018)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 31 Aug 2018 22:47:20 +0000 (18:47 -0400)
committerGitHub <noreply@github.com>
Fri, 31 Aug 2018 22:47:20 +0000 (18:47 -0400)
commit4da71814b327cb2ad47a01710360cd21ba636352
tree368d965fbcc1511b22952abf0d1d30dea76e3cc2
parent5df3658f2db1585607d41c25093a2a7d2a4de347
bpo-34007: Skip traceback tests if the Program Counter is not available. (GH-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 f2ef51f8bec525b21e52988880c8a029642795ed)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Lib/test/test_gdb.py