Antoine Pitrou pit...@free.fr added the comment:
Patch committed in 82647 (3.2) and 82648 (2.7). Thanks!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8605
Antoine Pitrou pit...@free.fr added the comment:
Minor nit: given that final_opt is set to at the start of the loop, the
first conditional in:
if final_opt and final_opt != '-O0':
appears to be redundant.
I don't think it is (the empty string is false, but != -O0 is true).
Dave Malcolm dmalc...@redhat.com added the comment:
Oops, my bad. Patch looks good as is.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8605
___
Dave Malcolm dmalc...@redhat.com added the comment:
Thanks. The patch looks good to me, and appears to also fix issue 8482 and
issue 9163: compiler optimization across all different compilers and
configurations can somewhat arbitrarily break the ability for the debugger to
work, and skipping
Antoine Pitrou pit...@free.fr added the comment:
Here is a patch which skips test_gdb when Python was built with something else
than -O0.
--
keywords: +patch
title: gdb API issues - test_gdb can fail with compiler opts
Added file: http://bugs.python.org/file17226/gdbopts.patch