From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29735 invoked by alias); 23 Aug 2012 11:21:27 -0000 Received: (qmail 29677 invoked by uid 22791); 23 Aug 2012 11:21:26 -0000 X-SWARE-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-vb0-f41.google.com (HELO mail-vb0-f41.google.com) (209.85.212.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Aug 2012 11:21:09 +0000 Received: by vbkv13 with SMTP id v13so727752vbk.0 for ; Thu, 23 Aug 2012 04:21:09 -0700 (PDT) Received: by 10.52.92.200 with SMTP id co8mr713597vdb.131.1345720869020; Thu, 23 Aug 2012 04:21:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.96.78 with HTTP; Thu, 23 Aug 2012 04:20:48 -0700 (PDT) In-Reply-To: <87393esnv9.fsf@fleche.redhat.com> References: <87boj3ivw7.fsf@fleche.redhat.com> <387EB82E-5B50-47D8-93EE-56E36355E710@cs.umd.edu> <87393esnv9.fsf@fleche.redhat.com> From: Kevin Pouget Date: Thu, 23 Aug 2012 11:21:00 -0000 Message-ID: Subject: Re: [PATCH 4/4]: Enable readline under "python" To: Tom Tromey Cc: Khoo Yit Phang , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00655.txt.bz2 On Wed, Aug 22, 2012 at 9:55 PM, Tom Tromey wrote: > > >>>>> "Yit" == Khoo Yit Phang 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