summaryrefslogtreecommitdiffstats
path: root/Misc/gdbinit
Commit message (Collapse)AuthorAgeFilesLines
* gdbinit: Use proper define syntax (GH-19557)Florian Bruhin2020-04-231-1/+1
| | | | | | | Using `def` rather than `define` results in: Ambiguous command "def pu": define, define-prefix. Automerge-Triggered-By: @csabella
* bpo-15817: gdbinit: Document commands after defining them (GH-15021)Florian Bruhin2019-09-091-23/+23
| | | | | | | | | | | | | | | | The gdb manual[1] says the following for "document": The command commandname must already be defined. [1] https://sourceware.org/gdb/current/onlinedocs/gdb/Define.html And indeed when trying to use the gdbinit file with gdb 8.3, I get: .../cpython/Misc/gdbinit:17: Error in sourced command file: Undefined command: "pyo". Try "help". Fix this by moving all documentation blocks after the define blocks. This was introduced in GH-6384.
* bpo-29673: fix gdb scripts pystack and pystackv (GH-6126)Marcel Plch2018-04-061-7/+7
|
* bpo-15817: Expose command documentation to gdb help (GH-6384)Skip Montanaro2018-04-051-11/+25
| | | Original patch by Alexander Belopolsky. Patch by Skip Montanaro.
* Removed unintentional trailing spaces in text files.Serhiy Storchaka2015-03-291-2/+2
|
* A newline in lineno output breaks pyframe output.Georg Brandl2010-11-031-1/+1
|
* #9919: fix off-by-one error in lineno command in Misc/gdbinit; also add ↵Georg Brandl2010-10-211-3/+4
| | | | newline to its output.
* Remove the external non-python.org hyperlink and point people toGregory P. Smith2010-10-171-2/+1
| | | | Tools/gdb/libpython.py.
* The py_decref macro was incorrect and unnecessary.Gregory P. Smith2010-10-171-10/+0
|
* * Applys part of the patch from http://bugs.python.org/issue3631 to addGregory P. Smith2010-10-171-8/+21
| | | | | | | a py_decref macro, fixup the pyo macro and reuse it and avoid a memory leak introduced by the pylocals macro. * Adds a note about gdb 7 python debugging support with links for more info on that.
* Make similar changes to 3.x version.Skip Montanaro2010-01-141-3/+9
|
* Recorded merge of revisions 74185 via svnmerge fromGeorg Brandl2009-07-231-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74185 | georg.brandl | 2009-07-23 11:17:09 +0200 (Do, 23 Jul 2009) | 1 line Fix the "pylocals" gdb command. ........
* Merged revisions ↵Benjamin Peterson2009-04-111-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70912,70944,70968,71033,71041,71208,71263,71286,71395-71396,71405-71406,71485,71492,71494 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r70912 | georg.brandl | 2009-03-31 17:35:46 -0500 (Tue, 31 Mar 2009) | 1 line #5617: add a handy function to print a unicode string to gdbinit. ........ r70944 | georg.brandl | 2009-03-31 23:32:39 -0500 (Tue, 31 Mar 2009) | 1 line #5631: add upload to list of possible commands, which is presented in --help-commands. ........ r70968 | michael.foord | 2009-04-01 13:25:38 -0500 (Wed, 01 Apr 2009) | 1 line Adding Wing project file ........ r71033 | brett.cannon | 2009-04-01 22:34:53 -0500 (Wed, 01 Apr 2009) | 3 lines Fix two issues introduced by issue #71031 by changing the signature of PyImport_AppendInittab() to take a const char *. ........ r71041 | jesse.noller | 2009-04-02 00:17:26 -0500 (Thu, 02 Apr 2009) | 1 line Add custom initializer argument to multiprocess.Manager*, courtesy of lekma ........ r71208 | michael.foord | 2009-04-04 20:15:01 -0500 (Sat, 04 Apr 2009) | 4 lines Change the way unittest.TestSuite use their tests to always access them through iteration. Non behavior changing, this allows you to create custom subclasses that override __iter__. Issue #5693 ........ r71263 | michael.foord | 2009-04-05 14:19:28 -0500 (Sun, 05 Apr 2009) | 4 lines Adding assertIs and assertIsNot methods to unittest.TestCase Issue #2578 ........ r71286 | tarek.ziade | 2009-04-05 17:04:38 -0500 (Sun, 05 Apr 2009) | 1 line added a simplest test to distutils.spawn._nt_quote_args ........ r71395 | benjamin.peterson | 2009-04-08 08:27:29 -0500 (Wed, 08 Apr 2009) | 1 line these must be installed to correctly run tests ........ r71396 | benjamin.peterson | 2009-04-08 08:29:41 -0500 (Wed, 08 Apr 2009) | 1 line fix syntax ........ r71405 | andrew.kuchling | 2009-04-09 06:22:47 -0500 (Thu, 09 Apr 2009) | 1 line Add items ........ r71406 | andrew.kuchling | 2009-04-09 06:23:36 -0500 (Thu, 09 Apr 2009) | 1 line Typo fixes ........ r71485 | andrew.kuchling | 2009-04-11 11:12:23 -0500 (Sat, 11 Apr 2009) | 1 line Add various items ........ r71492 | georg.brandl | 2009-04-11 13:19:27 -0500 (Sat, 11 Apr 2009) | 1 line Take credit for a patch of mine. ........ r71494 | benjamin.peterson | 2009-04-11 14:31:00 -0500 (Sat, 11 Apr 2009) | 1 line ignore py3_test_grammar when compiling the library ........
* Fix gdbinit to handle new types/APIs.Neal Norwitz2008-08-241-4/+4
|
* Get gdb macros working with unicode and PyVarObject changeNeal Norwitz2007-08-271-3/+3
|
* break sets a breakpoint rather than stopping the loop.Neal Norwitz2005-09-051-2/+3
| | | | | | | It *appears* a flag is necessary instead. This was tested in gdb 6.0. Backport candidate
* Fix pystack command.Neil Schemenauer2005-08-131-1/+1
|
* Add definitions for "up" and "down" commands that print/display the currentSkip Montanaro2005-01-081-2/+52
| | | | | | | | | | Python file/line when the current C execution frame is inside PyEval_EvalFrame. These are commented out by default because GDB sometimes crashes as a result (seems like a GDB bug). Add a pyframe command that displays the current Python stack frame. If the marked lines are uncommented, it will also cause Emacs/XEmacs to display the current file/line.
* split functionality into pystack and pystackv commands. The former willSkip Montanaro2004-11-171-4/+19
| | | | | | | work with core dumps because it avoids calling any Python API routines. The latter prints all the local variable values as well as the stack frames but won't work with core dumps because it relies on _PyObject_Dump to print variables.
* eval_frame now has a PyAPI-style nameMichael W. Hudson2004-08-071-1/+1
|
* It would help if I deleted the old pystack!Skip Montanaro2004-04-021-23/+11
| | | | Also, move pystack comment down next to it
* include local variables when dumping Python stack traceSkip Montanaro2004-04-021-9/+36
|
* Add pystack definition to Misc/gdbinit with some explanation of its behaviorSkip Montanaro2004-03-011-0/+23
| | | | | and add flag comments to ceval.c and main.c alerting people to the coupling between pystack and the layout of those files.
* A helper to dump info about the current frame,Jeremy Hylton2003-10-031-0/+9
| | | | assuming it is the variable f.
* PyObject_Dump() -> _PyObject_Dump()Barry Warsaw2001-01-241-2/+2
| | | | PyGC_Dump() -> _PyGC_Dump()
* A few useful definitions if you're using gdb. Copy to ~/.gdbinit toBarry Warsaw2001-01-231-0/+27
pull it in automatically.