This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog NEWS doc/gdb.texinfo python/ ...
- From: khooyp at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 22 Aug 2012 19:15:16 -0000
- Subject: src/gdb ChangeLog NEWS doc/gdb.texinfo python/ ...
CVSROOT: /cvs/src
Module name: src
Changes by: khooyp@sourceware.org 2012-08-22 19:15:16
Modified files:
gdb : ChangeLog NEWS
gdb/doc : gdb.texinfo
gdb/python : python.c
Log message:
Add a new "python-interactive" command that starts a standard
Python interactive prompt with "pi" as alias, and add "py" as
an alias to "python".
* NEWS: Mention the new commands.
* doc/gdb.texinfo (Python Commands): Document the new
commands.
* python/python.c (eval_python_command): New function.
(python_interactive_command): For "python-interactive" with
arguments, call eval_python_command. For "python-interactive"
without arguments, call PyRun_InteractiveLoop.
(_initialize_python): Add "python-interactive" command with
"pi" as alias, and add "py" as an alias to "python".
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14618&r2=1.14619
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/NEWS.diff?cvsroot=src&r1=1.540&r2=1.541
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.1003&r2=1.1004
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/python.c.diff?cvsroot=src&r1=1.92&r2=1.93