From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7149 invoked by alias); 26 Jul 2012 17:52:27 -0000 Received: (qmail 7075 invoked by uid 22791); 26 Jul 2012 17:52:25 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from server-nat-6.cs.umd.edu (HELO bacon.cs.umd.edu) (128.8.127.149) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 Jul 2012 17:52:11 +0000 Received: from wireless-206-196-160-203.umd.edu (wireless-206-196-160-203.umd.edu [206.196.160.203]) (Authenticated sender: khooyp) by bacon.cs.umd.edu (Postfix) with ESMTPSA id BADB6B404EE; Thu, 26 Jul 2012 13:52:06 -0400 (EDT) Subject: Re: [PATCH 1/4]: Make "python" start a standard Python prompt Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Khoo Yit Phang In-Reply-To: <87vchae842.fsf@fleche.redhat.com> Date: Thu, 26 Jul 2012 17:52:00 -0000 Cc: Khoo Yit Phang , Phil Muldoon , gdb-patches@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <770F6E2B-70F5-4DF9-8E01-BD4F5FDC7AB1@cs.umd.edu> <500F95FB.5060904@redhat.com> <87zk6nizl6.fsf@fleche.redhat.com> <1C2FC4AD-E6FE-4857-9DE5-FDE5BE006E95@cs.umd.edu> <874novivob.fsf@fleche.redhat.com> <9DB9F174-129C-4C4A-9708-53A1D521251A@cs.umd.edu> <87mx2nhgch.fsf@fleche.redhat.com> <61B8FB86-D21F-4BA5-B86D-DF0ECF04C29D@cs.umd.edu> <87vchae842.fsf@fleche.redhat.com> To: Tom Tromey X-CSD-MailScanner-ID: BADB6B404EE.A9B04 X-CSD-MailScanner: Found to be clean X-CSD-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-50, required 5, autolearn=not spam, ALL_TRUSTED -50.00) X-CSD-MailScanner-From: khooyp@cs.umd.edu X-CSD-MailScanner-Watermark: 1343929927.0948@+paNvCBnMcu5tyrVN2N0Og 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-07/txt/msg00628.txt.bz2 Hi, On Jul 26, 2012, at 1:37 PM, Tom Tromey wrote: >>>>>> "Yit" =3D=3D Khoo Yit Phang writes: >=20 > 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". >=20 > Looks pretty good to me. >=20 > I think it could use a NEWS entry. Do you mean I should edit the NEWS file (under "Changes since GDB 7.5")? Ho= w's the following: * New commands =20=20 ** "python-interactive [command]" "pi [command]" Starts a Python interactive prompt, or evaluate the optional=20 command and print the result of expressions. ** "py" is a new alias for "python" Thanks, Yit July 26, 2012