Re: [PATCH 4/4]: Enable readline under "python"

Kevin Pouget
2012-08-23T11:21:27Z

On Wed, Aug 22, 2012 at 9:55 PM, Tom Tromey <tromey@redhat.com> wrote:
>
> >>>>> "Yit" == Khoo Yit Phang <khooyp@cs.umd.edu> writes:
>
> Yit> Hi,
> Yit> I've updated my Python/GDB readline patch for the new SIGINT handling
> Yit> patch that you've just checked in, Tom. The only change is that
> Yit> there's no longer any need to swap SIGINT handlers. If it's alright,
> Yit> I'll check it in.
>
> It is ok. Thanks!
>
> Tom

hello,

it might be a stupid question, and I didn't take time to read the
patch ... but how do we exit from this `python-interactive` command?
exit() and quit() just kill the entire GDB ... If I didn't miss
something obvious, it might worth adding a line in the documentation.

(and just a detail, in the gdb/ChangeLog of this patch, I think that this line:
> * doc/gdb.texinfo (Python Commands): Document the new commands.
is supposted to go to doc/ChangeLog

and by the way this readline and interactive prompt is a *very* cool
job, GDB/Python will become really more intuitive!

Thanks,

Kevin