summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gdb.py
Commit message (Collapse)AuthorAgeFilesLines
* suppress stderr output when checking gdb (closes #27969)Benjamin Peterson2016-09-061-0/+1
|
* Issue 19504: Change "customise" to "customize" American spelling.Raymond Hettinger2016-08-261-1/+1
|
* Backport test_gdb fix for s390x buildbotsVictor Stinner2016-04-191-17/+7
|
* Issue #14771: Redirect GDB's stdin to avoid messing the terminal settingsMartin Panter2016-01-161-0/+3
| | | | | | | Otherwise, GDB seems to affect the terminal's foreground process group, interfering with test_ioctl, which does not expect the foreground process to change during the test. This change also solves the problem of the tests being stopped in the shell if test_gdb is run twice in parallel.
* Issue #25820: Remove unused assignment and redundant GDB CLI argumentsMartin Panter2015-12-081-3/+1
| | | | These were added in revision b71cda2f48c6.
* Merge 3.4 (test_gdb)Victor Stinner2015-09-141-1/+1
|\
| * test_gdb: fix regex to parse the GDB versionVictor Stinner2015-09-141-1/+1
| | | | | | | | Fix the regex to support the version 7.10: minor version with two digits
* | Merge 3.4 (test_gdb)Victor Stinner2015-09-031-2/+3
|\ \ | |/
| * test_gdb: oops, the regex to parse the gdb version was still too strictVictor Stinner2015-09-031-2/+3
| |
* | Merge 3.4 (test_gdb)Victor Stinner2015-09-031-1/+2
|\ \ | |/
| * test_gdb: fix regex to parse GDB version for 'GNU gdb 6.1.1 [FreeBSD]\n'Victor Stinner2015-09-031-1/+2
| |
* | Merge 3.4 (test_gdb)Victor Stinner2015-09-021-17/+33
|\ \ | |/
| * test_gdb: use subprocess.Popen context manager to fix ResourceWarning warningsVictor Stinner2015-09-021-20/+29
| | | | | | | | when the test is interrupted (or fail).
| * test_gdb: fix regex to parse gdb version for SUSE Linux EntrepriseVictor Stinner2015-09-021-4/+11
| | | | | | | | | | Mention also the detected GDB version on verbose mode and on error (if the major version is smaller than 7).
* | Issue #22117: Fix test_gdb for the new time.sleep()Victor Stinner2015-03-271-6/+8
|/ | | | | | | Use time.gmtime() instead of time.sleep(), because time.sleep() is no more declared with METH_VARARGS but with METH_O. time.gmtime() is still declared with METH_VARARGS and so it is called with PyCFunction_Call() which is the target of the test_gdb unit test.
* Issue #22844: Fized test_gdb failure on Debian Wheezy for Z.Serhiy Storchaka2015-02-141-0/+2
| | | | Patch by David Edelsohn.
* Issue #23881: Only use entry-values with gdb 7.4 in tests.Serhiy Storchaka2015-02-061-8/+10
| | | | Fixes a regression in issue #22765. Patch by Vinson Lee.
* Issue #22765: Fixed test_gdb failures. Supressed unexpected gdb output.Serhiy Storchaka2015-01-311-0/+19
| | | | Patch by Bohuslav Kabrda.
* Closes #22188: test_gdb now runs gdb with -nx: "Do not execute commands fromVictor Stinner2014-08-161-3/+5
| | | | any .gdbinit initialization files".
* Issue #19753: New try to fix test_gdb on System Z buildbotVictor Stinner2013-11-251-0/+2
|
* Issue #19753: Try to fix test_gdb on SystemZ buildbotVictor Stinner2013-11-241-0/+1
|
* Issue #19743: fix test_gdb on some optimized Python buildsAntoine Pitrou2013-11-241-4/+8
|
* Issue #19308: fix the gdb plugin on gdbs linked with Python 3Antoine Pitrou2013-11-231-1/+1
|
* Issue #19183: Simplify test_gdbVictor Stinner2013-11-211-27/+20
| | | | repr() is no more platform dependent, SipHash has been fixed
* Issue #19183: Fix repr() tests of test_gdb, hash() is now platform dependentVictor Stinner2013-11-201-20/+29
|
* Issue #19183: test_gdb's test_dict was failing on some machines as the order ↵Christian Heimes2013-11-201-2/+1
| | | | or dict keys has changed again.
* Merge from 3.3Nick Coghlan2013-09-221-1/+2
|\
| * Fix comment in test_gdbNick Coghlan2013-09-221-1/+2
| |
* | test_gdb: skip pretty-printing of sets with gdb < 7.3Antoine Pitrou2013-09-211-0/+4
| | | | | | | | (should fix the failures on OpenIndiana)
* | test_gdb: dump gdb version in verbose modeAntoine Pitrou2013-09-211-0/+6
| |
* | Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-1/+1
|\ \ | |/ | | | | error messages and comments.
| * Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-1/+1
| | | | | | | | error messages and comments.
* | test_gdb.py: ignore also "warning: Source file is more recent than ↵Victor Stinner2013-06-251-0/+1
|/ | | | executable." pattern
* Issue #17712: Fix test_gdb failures on Ubuntu 13.04.Antoine Pitrou2013-04-301-21/+24
|
* merge #15043: Improve test_gdb support of gdb >= 7.4.R David Murray2012-10-271-38/+44
|\ | | | | | | | | | | Instead of requiring the tester to manually add the path to the python-gdb.py file in the checkout to their .gdbinit file, add it automatically when invoking gdb in the test.
| * #15043: Improve test_gdb support of gdb >= 7.4.R David Murray2012-10-271-38/+46
| | | | | | | | | | | | Instead of requiring the tester to manually add the path to the python-gdb.py file in the checkout to their .gdbinit file, add it automatically when invoking gdb in the test.
* | merge 3.2Benjamin Peterson2012-09-211-0/+5
|\ \ | |/
| * remove gdb noise about linux-vdsoBenjamin Peterson2012-09-211-0/+5
| |
* | Issue #12605: Show information on more C frames within gdb backtracesDavid Malcolm2012-06-271-2/+99
| | | | | | | | | | | | | | | | | | The gdb hooks for debugging CPython (within Tools/gdb) have been enhanced to show information on more C frames relevant to CPython within the "py-bt" and "py-bt-full" commands: * C frames that are waiting on the GIL * C frames that are garbage-collecting * C frames that are due to the invocation of a PyCFunction
* | Merge from 3.2 (Issue #15043: skip test_gdb if the custom hooks can't be loaded)Nick Coghlan2012-06-171-0/+9
|\ \ | |/
| * Issue #15043: skip test_gdb if the custom hooks can't be loadedNick Coghlan2012-06-171-0/+9
| |
* | #12660: Skip test_gdb when run from an installed Python.Vinay Sajip2012-05-061-0/+4
| |
* | Merge 3.2: Issue #13703 plus some related test suite fixes.Georg Brandl2012-02-201-8/+14
|\ \ | |/
| * Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl2012-02-201-8/+14
| | | | | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
| * Closes #13699. Skipped two tests if Python is optimised.Vinay Sajip2012-01-051-0/+4
| |
* | Closes #13699. Skipped two tests if Python is optimised.Vinay Sajip2012-01-041-0/+4
| |
* | (Merge 3.2) Issue #13628: python-gdb.py is now able to retrieve more frames inVictor Stinner2011-12-191-3/+19
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | the Python traceback if Python is optimized. * delay the lookup of the size_t type, it is not available at startup * The second argument of the PyFrameObjectPtr constructor is optional, as done in other constructors * iter_builtins() and iter_globals() methods of PyFrameObjectPtr returns an empty tuple instead of None if Python is optimized * Fix py-bt and py-bt-full to handle correctly "optimized" frames * Frame.get_pyop() tries to get the frame pointer from PyEval_EvalCodeEx() if the pointer is optimized out in PyEval_EvalFrameEx()
| * Issue #13628: python-gdb.py is now able to retrieve more frames in the PythonVictor Stinner2011-12-191-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | traceback if Python is optimized. * delay the lookup of the size_t type, it is not available at startup * The second argument of the PyFrameObjectPtr constructor is optional, as done in other constructors * iter_builtins() and iter_globals() methods of PyFrameObjectPtr returns an empty tuple instead of None if Python is optimized * Fix py-bt and py-bt-full to handle correctly "optimized" frames * Frame.get_pyop() tries to get the frame pointer from PyEval_EvalCodeEx() if the pointer is optimized out in PyEval_EvalFrameEx()
* | Some libcs' snprintf may output a leading minus sign when %p-formattingAntoine Pitrou2011-11-261-17/+17
|/ | | | (should fix a failure on the OpenIndiana AMD64 buildbot)
* Issue #11996: libpython (gdb), replace "py-bt" command by "py-bt-full" and addVictor Stinner2011-05-131-1/+18
| | | | a smarter "py-bt" command printing a classic Python traceback.