[issue8605] test_gdb can fail with compiler opts

2010-07-08 Thread Antoine Pitrou
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

[issue8605] test_gdb can fail with compiler opts

2010-07-07 Thread Antoine Pitrou
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).

[issue8605] test_gdb can fail with compiler opts

2010-07-07 Thread Dave Malcolm
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 ___

[issue8605] test_gdb can fail with compiler opts

2010-07-06 Thread Dave Malcolm
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

[issue8605] test_gdb can fail with compiler opts

2010-05-05 Thread Antoine Pitrou
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