summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gdb.py
Commit message (Collapse)AuthorAgeFilesLines
* Backport test_gdb fixes for s390x buildbotsVictor Stinner2017-02-101-17/+7
|
* Disable test_gdb.PrettyPrintTests when compiled with optimizations,Gregory P. Smith2016-09-091-0/+3
| | | | these often fail on PGO builds.
* skip two test_gdb tests that fail when compiled in profile-opt mode:Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-09-081-0/+4
| | | | | | | | StackNavigationTests.test_up_at_top and PyBtTests.test_threads. Unfortunately we have no way of identifying if we were compiled profile-opt or not from what is in sysconfig.get_config_vars() so we just disable it for all optimized builds. This test suite crazy fragile.
* suppress stderr output when checking gdb (closes #27969)Benjamin Peterson2016-09-061-0/+1
|
* Issue #12660: Backport 84bbb8d2d237Zachary Ware2016-08-241-0/+4
|
* Issue #14771: Redirect GDB's stdin to avoid messing the terminal settingsMartin Panter2016-01-161-0/+2
| | | | | | | 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.
* test_gdb: fix regex to parse the GDB versionVictor Stinner2015-09-141-2/+3
| | | | Fix the regex to support the version 7.10: minor version with two digits
* python-gdb.py: enhance py-bt commandVictor Stinner2015-09-031-4/+123
| | | | | | | | | | * Add py-bt-full command * py-bt now gives an output similar to a regular Python traceback * py-bt indicates: - if the garbage collector is running - if the thread is waiting for the GIL - detect PyCFunction_Call to get the name of the builtin function
* test_gdb: enhance regex used to parse the GDB versionVictor Stinner2015-09-031-12/+31
|
* Issue #23445: Fix test_gdb.python_is_optimized() for CFLAGS=-OgVictor Stinner2015-03-271-1/+1
| | | | -Og does not optimize the C code, it's just "fast debugging".
* 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.
* is OpenIndiana actually sunos?Benjamin Peterson2014-11-241-1/+1
|
* loosen solaris testBenjamin Peterson2014-11-241-1/+1
|
* skip test_gdb on OpenIndianaBenjamin Peterson2014-11-241-0/+3
|
* Issue #19753: Fix test_gdb on SystemZ buildbot, ignore warningsVictor Stinner2014-11-051-0/+4
|
* Closes #22188: test_gdb now runs gdb with -nx: "Do not execute commands fromVictor Stinner2014-08-161-4/+6
| | | | any .gdbinit initialization files".
* Issue #19308: fix the gdb plugin on gdbs linked with Python 3Antoine Pitrou2013-11-231-2/+2
|
* This check can still fail on RHEL6Nick Coghlan2013-09-221-3/+3
|
* Issue #17712: Fix test_gdb failures on Ubuntu 13.04.Antoine Pitrou2013-04-301-22/+24
|
* #15043: Improve test_gdb support of gdb >= 7.4.R David Murray2012-10-271-35/+42
| | | | | | 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.
* remove gdb noise about linux-vdsoBenjamin Peterson2012-09-211-0/+5
|
* Issue #15043: skip test_gdb if the custom hooks can't be loaded (backport ↵Nick Coghlan2012-06-171-0/+9
| | | | from 3.x)
* carefully don't depend on any dict orderBenjamin Peterson2012-02-211-4/+16
|
* fix test_gdb under hash randomizationBenjamin Peterson2012-02-211-6/+11
|
* Issue #13628: python-gdb.py is now able to retrieve more frames in the PythonVictor Stinner2011-12-191-10/+29
| | | | | | | | | | | | | 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 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()
* Close issue #8600: test_gdb failures because innocuous warningsJesus Cea2011-03-161-0/+3
|
* Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-211-40/+39
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
* Merged revisions 82647 via svnmerge fromAntoine Pitrou2010-07-081-0/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82647 | antoine.pitrou | 2010-07-08 20:51:30 +0200 (jeu., 08 juil. 2010) | 3 lines Issue #8605: Skip test_gdb if Python is compiled with optimizations. ........
* libpython.py: fix support of non-BMP unicode charactersVictor Stinner2010-05-201-8/+2
| | | | | | | | Forward port some code from Python3: * join surrogate pairs if sizeof(Py_UNICODE)==2 * Enable non-BMP test on narrow builds using u"\U0001D121" instead of unichr(0x1D121)
* Issue #8600: fix test_gdb failures when gdb issues some spurious warnings.Antoine Pitrou2010-05-051-0/+5
|
* Issue #8437: Fix test_gdb failures, patch written by Dave MalcolmVictor Stinner2010-04-201-0/+19
|
* Issue #8279: Fix test_gdb failures.Martin v. Löwis2010-04-171-45/+42
|
* Re-enable all tests, to see which ones fail on the buildbots.Martin v. Löwis2010-04-121-6/+6
|
* Issue #8330: Fix expected output in test_gdb.Martin v. Löwis2010-04-121-10/+28
|
* Issue #8337: Disable the remaining test also for now.Martin v. Löwis2010-04-071-1/+1
|
* Issue 8316: make test_gdb robust in the face of differing terminalR. David Murray2010-04-051-14/+13
| | | | widths. Patch by Dave Malcolm.
* Issue #8032: For gdb7, a python-gdb.py file is added to the build,Martin v. Löwis2010-04-011-0/+658
allowing to use advanced gdb features when debugging Python.