This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/4]: Make "python" start a standard Python prompt
Hi,
On Jul 26, 2012, at 1:37 PM, Tom Tromey wrote:
>>>>>> "Yit" == Khoo Yit Phang <khooyp@cs.umd.edu> writes:
>
> Yit> Here's the updated patch that creates a new command
> Yit> "python-interactive", aliased to "pi", that starts a standard Python
> Yit> REPL; and also aliases "python" to "py".
>
> Looks pretty good to me.
>
> I think it could use a NEWS entry.
Do you mean I should edit the NEWS file (under "Changes since GDB 7.5")? How's the following:
* New commands
** "python-interactive [command]"
"pi [command]"
Starts a Python interactive prompt, or evaluate the optional
command and print the result of expressions.
** "py" is a new alias for "python"
Thanks,
Yit
July 26, 2012