This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 4/4]: Enable readline under "python"
- From: Kevin Pouget <kevin dot pouget at gmail dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Khoo Yit Phang <khooyp at cs dot umd dot edu>, gdb-patches at sourceware dot org
- Date: Thu, 23 Aug 2012 13:20:48 +0200
- Subject: Re: [PATCH 4/4]: Enable readline under "python"
- References: <A7A972B1-3B6B-4A99-BB64-6CC32C7FE448@cs.umd.edu> <87boj3ivw7.fsf@fleche.redhat.com> <387EB82E-5B50-47D8-93EE-56E36355E710@cs.umd.edu> <87393esnv9.fsf@fleche.redhat.com>
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