aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorYit Phang Khoo <khooyp@sourceware.org>2012-08-22 19:15:15 +0000
committerYit Phang Khoo <khooyp@sourceware.org>2012-08-22 19:15:15 +0000
commit8315665ec17eb95a2e12599d6dfb18aa45a12eb6 (patch)
tree549c15527aa765f01dfdb3d5a3ea637c02803993 /gdb/ChangeLog
parent1e2bee4f5f1bdeb8c5cadbecf9d0b92e60a8bd13 (diff)
downloadgdb-8315665ec17eb95a2e12599d6dfb18aa45a12eb6.zip
gdb-8315665ec17eb95a2e12599d6dfb18aa45a12eb6.tar.gz
gdb-8315665ec17eb95a2e12599d6dfb18aa45a12eb6.tar.bz2
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".
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index de3dbf5..d6e8cf6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,18 @@
+2012-08-22 Khoo Yit Phang <khooyp@cs.umd.edu>
+
+ 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".
+
2012-08-22 Tom Tromey <tromey@redhat.com>
* defs.h (quit_flag): Don't declare.