Georg Brandl
29848f0570
#9919 : fix off-by-one error in lineno command in Misc/gdbinit; also add newline to its output.
2010-10-21 12:59:14 +00:00
Gregory P. Smith
3ebc22a628
Remove the external non-python.org hyperlink and point people to
...
Tools/gdb/libpython.py.
2010-10-17 19:40:59 +00:00
Gregory P. Smith
5b5d8d58c7
The py_decref macro was incorrect and unnecessary.
2010-10-17 18:59:56 +00:00
Gregory P. Smith
03efcf2d99
* Applys part of the patch from http://bugs.python.org/issue3631 to add
...
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.
2010-10-17 18:38:04 +00:00
Skip Montanaro
ae5465a578
Make similar changes to 3.x version.
2010-01-14 01:14:50 +00:00
Georg Brandl
9b21dbc107
Recorded merge of revisions 74185 via svnmerge from
...
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.
........
2009-07-23 09:19:09 +00:00
Benjamin Peterson
f47ed4a014
Merged revisions 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
........
2009-04-11 20:45:40 +00:00
Neal Norwitz
8f2f22ad27
Fix gdbinit to handle new types/APIs.
2008-08-24 20:59:23 +00:00
Neal Norwitz
44c19f64a5
Get gdb macros working with unicode and PyVarObject change
2007-08-27 02:49:29 +00:00
Neal Norwitz
4655e44b0f
break sets a breakpoint rather than stopping the loop.
...
It *appears* a flag is necessary instead.
This was tested in gdb 6.0.
Backport candidate
2005-09-05 16:16:49 +00:00
Neil Schemenauer
f98e6b15ba
Fix pystack command.
2005-08-13 00:28:41 +00:00
Skip Montanaro
afd77d980e
Add definitions for "up" and "down" commands that print/display the current
...
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.
2005-01-08 21:56:43 +00:00
Skip Montanaro
0bb2a65dbd
split functionality into pystack and pystackv commands. The former will
...
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.
2004-11-17 16:04:15 +00:00
Michael W. Hudson
8c47f4a657
eval_frame now has a PyAPI-style name
2004-08-07 20:11:22 +00:00
Skip Montanaro
7a92d74c52
It would help if I deleted the old pystack!
...
Also, move pystack comment down next to it
2004-04-02 14:53:55 +00:00
Skip Montanaro
74d07f2bfa
include local variables when dumping Python stack trace
2004-04-02 14:51:13 +00:00
Skip Montanaro
786ea6bc23
Add pystack definition to Misc/gdbinit with some explanation of its behavior
...
and add flag comments to ceval.c and main.c alerting people to the coupling
between pystack and the layout of those files.
2004-03-01 15:44:05 +00:00
Jeremy Hylton
f64ec0f2a1
A helper to dump info about the current frame,
...
assuming it is the variable f.
2003-10-03 20:56:15 +00:00
Barry Warsaw
bbd89b66b1
PyObject_Dump() -> _PyObject_Dump()
...
PyGC_Dump() -> _PyGC_Dump()
2001-01-24 04:18:13 +00:00
Barry Warsaw
39e44d7a9c
A few useful definitions if you're using gdb. Copy to ~/.gdbinit to
...
pull it in automatically.
2001-01-23 16:25:19 +00:00