diff options
author | Yit Phang Khoo <khooyp@sourceware.org> | 2012-08-22 19:15:15 +0000 |
---|---|---|
committer | Yit Phang Khoo <khooyp@sourceware.org> | 2012-08-22 19:15:15 +0000 |
commit | 8315665ec17eb95a2e12599d6dfb18aa45a12eb6 (patch) | |
tree | 549c15527aa765f01dfdb3d5a3ea637c02803993 /gdb/NEWS | |
parent | 1e2bee4f5f1bdeb8c5cadbecf9d0b92e60a8bd13 (diff) | |
download | gdb-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/NEWS')
-rw-r--r-- | gdb/NEWS | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -31,6 +31,14 @@ maint info bfds List the BFDs known to GDB. +python-interactive [command] +pi [command] + Start a Python interactive prompt, or evaluate the optional command + and print the result of expressions. + +py [command] + "py" is a new alias for "python". + * MI changes ** Command parameter changes are now notified using new async record |