From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125084 invoked by alias); 16 Dec 2015 11:34:59 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 125049 invoked by uid 89); 16 Dec 2015 11:34:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 16 Dec 2015 11:34:57 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9AM7-0003r2-SJ for gdb@sourceware.org; Wed, 16 Dec 2015 06:34:54 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9AM7-0003qx-PM; Wed, 16 Dec 2015 06:34:51 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4288 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1a9AM7-0008Oi-4f; Wed, 16 Dec 2015 06:34:51 -0500 Date: Wed, 16 Dec 2015 11:34:00 -0000 Message-Id: <83mvta1v9u.fsf@gnu.org> From: Eli Zaretskii To: Jan Kratochvil CC: gdb@sourceware.org In-reply-to: <20151216111608.GA17950@host1.jankratochvil.net> (message from Jan Kratochvil on Wed, 16 Dec 2015 12:16:08 +0100) Subject: Re: Exiting from Python and Guile interpreters Reply-to: Eli Zaretskii References: <83r3im1x7t.fsf@gnu.org> <20151216111608.GA17950@host1.jankratochvil.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00020.txt.bz2 > Date: Wed, 16 Dec 2015 12:16:08 +0100 > From: Jan Kratochvil > Cc: gdb@sourceware.org > > On Wed, 16 Dec 2015 11:53:10 +0100, Eli Zaretskii wrote: > > . to exit Python, one should type the EOF character, Ctrl-D on Unix, > > Ctrl-Z on Windows > > > > . typing "quit()" at Python prompt exits the debugger > > In Fedora 23 build it is the same. > > > > . to exit Guile, one should type ",q" or ",quit" > > > > . typing the EOF character at Guile prompt exits the debugger > > In Fedora 23 build both methods return to the GDB prompt. Thanks. So what do you think about making "quit()" in Python return to GDB instead of exiting to shell?