An error occurred fetching the project authors.
- 12 Mar, 2019 1 commit
-
-
Lisa Roach authored
-
- 15 Oct, 2018 1 commit
-
-
Victor Stinner authored
python-gdb.py now handles errors on computing the line number of a Python frame. Changes: * PyFrameObjectPtr.current_line_num() now catchs any Exception on calling addr2line(), instead of failing with a surprising "<class 'TypeError'> 'FakeRepr' object is not subscriptable" error. * All callers of current_line_num() now handle current_line_num() returning None. * PyFrameObjectPtr.current_line() now also catchs IndexError on getting a line from the Python source file.
-
- 14 Jun, 2018 2 commits
-
-
Victor Stinner authored
python-gdb now catchs UnicodeDecodeError exceptions when calling string().
-
Victor Stinner authored
python-gdb now catchs ValueError on read_var(): when Python has no debug symbols for example.
-
- 20 Apr, 2018 1 commit
-
-
Gregory P. Smith authored
-
- 21 Aug, 2017 1 commit
-
-
Łukasz Langa authored
PEP 523 introduced _PyEval_EvalFrameDefault which inlines PyEval_EvalFrameEx on non-debug shared builds. This breaks the ability to use py-bt, py-up, and a few other Python-specific gdb integrations. This patch fixes the problem by only looking for _PyEval_EvalFrameDefault frames. test_gdb passes on both a debug and a non-debug build. Original patch by Bruno "Polaco" Penteado.
-
- 16 Aug, 2017 1 commit
-
-
Victor Stinner authored
* Revert "Add Bruno Penteado to ACKS (#3091)" This reverts commit f978405b. * Revert "bpo-30983: eval frame rename in pep 0523 broke gdb's python extension (#2803)" This reverts commit 2e0f4db1.
-
- 14 Aug, 2017 1 commit
-
-
Bruno "Polaco" Penteado authored
pep 0523 renames PyEval_EvalFrameEx to _PyEval_EvalFrameDefault while the gdb python extension only looks for PyEval_EvalFrameEx to understand if it is dealing with a frame. Final effect is that attaching gdb to a python3.6 process doesnt resolve python objects. Eg. py-list and py-bt dont work properly. This patch fixes that. Tested locally on python3.6
-
- 18 May, 2017 1 commit
-
-
Jon Dufresne authored
* Replaced list(<generator expression>) with list comprehension * Replaced dict(<generator expression>) with dict comprehension * Replaced set(<list literal>) with set literal * Replaced builtin func(<list comprehension>) with func(<generator expression>) when supported (e.g. any(), all(), tuple(), min(), & max())
-
- 01 Mar, 2017 1 commit
-
-
Lev Abalkin authored
This change is required to make python-dbg.py compatible with GDB versions before 7.3.
-
- 02 Feb, 2017 1 commit
-
-
INADA Naoki authored
Calling builtin method is at most 10% faster.
-
- 01 Feb, 2017 1 commit
-
-
Victor Stinner authored
Issue #29367: python-gdb.py now supports also method-wrapper (wrapperobject) objects.
-
- 18 Jan, 2017 2 commits
-
-
Victor Stinner authored
Issue #29259: * Detect PyCFunction is the current frame, not only in the older frame * Ignore PyCFunction_Call() since it now calls _PyCFunction_FastCallDict(), and _PyCFunction_FastCallDict() is already detected
-
Victor Stinner authored
Issue #29259.
-
- 16 Jan, 2017 1 commit
-
-
Victor Stinner authored
Issue #29259: Write fast path in _PyCFunction_FastCallKeywords() for METH_FASTCALL, avoid the creation of a temporary dictionary for keyword arguments. Cleanup also _PyCFunction_FastCallDict(): * Don't dereference func before checking that it's not NULL * Move code to raise the "no keyword argument" exception into a new no_keyword_error label. Update python-gdb.py for the change.
-
- 16 Dec, 2016 1 commit
-
-
Victor Stinner authored
-
- 22 Nov, 2016 5 commits
-
-
Victor Stinner authored
Frame.is_other_python_frame() now also handles _PyCFunction_FastCallDict() frames. Thanks to the new code to handle fast calls, python-gdb.py is now also able to detect the <built-in id method of module ...> frame. (grafted from f41d02d7da373ccaff97a42b66b051260bd55996)
-
Victor Stinner authored
Frame.is_other_python_frame() now also handles _PyCFunction_FastCallDict() frames. Thanks to the new code to handle fast calls, python-gdb.py is now also able to detect the <built-in id method of module ...> frame.
-
Victor Stinner authored
Frame.is_other_python_frame() now also handles _PyCFunction_FastCallDict() frames. Thanks to the new code to handle fast calls, python-gdb.py is now also able to detect the <built-in id method of module ...> frame.
-
Victor Stinner authored
Replace int(value.address)+offset with value.cast(unsigned char*)+offset. It seems like int(value.address) fails on old versions of GDB.
-
INADA Naoki authored
-
- 08 Sep, 2016 1 commit
-
-
- 20 Apr, 2016 2 commits
-
-
Victor Stinner authored
The function was only called in _sizeof_void_p()
-
Victor Stinner authored
Issue #26799: Fix python-gdb.py: don't get once C types when the Python code is loaded, but get C types on demande. The C types can change if python-gdb.py is loaded before the Python executable. Patch written by Thomas Ilsche.
-
- 02 Nov, 2015 1 commit
-
-
Martin Panter authored
This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
-
- 16 Jan, 2014 1 commit
-
-
Serhiy Storchaka authored
requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
-
- 23 Nov, 2013 3 commits
-
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
- 29 Aug, 2013 1 commit
-
-
Serhiy Storchaka authored
in docstrings and comments.
-
- 25 Aug, 2013 1 commit
-
-
Ezio Melotti authored
-
- 24 Aug, 2013 1 commit
-
-
Antoine Pitrou authored
-
- 06 May, 2013 1 commit
-
-
David Malcolm authored
-
- 11 Apr, 2013 1 commit
-
-
Victor Stinner authored
display invalid strings. Such strings can be found while Python is creating a new string, in a text decoder for example, when Python is compiled in debug mode.
-
- 27 Jan, 2013 1 commit
-
-
Ezio Melotti authored
-
- 09 Oct, 2012 1 commit
-
-
Benjamin Peterson authored
Patch from Serhiy Storchaka.
-
- 27 Jun, 2012 1 commit
-
-
David Malcolm authored
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
-
- 23 Apr, 2012 1 commit
-
-
Benjamin Peterson authored
Patch from Mark Shannon.
-
- 19 Dec, 2011 2 commits
-
-
Victor Stinner authored
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()
-
Victor Stinner authored
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()
-