From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126316 invoked by alias); 16 Dec 2015 10:52: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 126302 invoked by uid 89); 16 Dec 2015 10:52:59 -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 10:52:58 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a99hV-0002M1-60 for gdb@sourceware.org; Wed, 16 Dec 2015 05:52:56 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a99hV-0002Lx-2i for gdb@sourceware.org; Wed, 16 Dec 2015 05:52:53 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4272 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1a99hU-00027l-GY for gdb@sourceware.org; Wed, 16 Dec 2015 05:52:52 -0500 Date: Wed, 16 Dec 2015 10:52:00 -0000 Message-Id: <83r3im1x7t.fsf@gnu.org> From: Eli Zaretskii To: gdb@sourceware.org Subject: Exiting from Python and Guile interpreters Reply-to: Eli Zaretskii 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/msg00018.txt.bz2 I see this in MinGW GDB 7.10 I built myself; I have no access to any other GDB built with both Python and Guile, so I'm asking here. It looks like there's an inconsistency in how one should exit from the Python (entered with "pi") vs Guile (entered with "gr") interpreters back to GDB: . 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 . to exit Guile, one should type ",q" or ",quit" . typing the EOF character at Guile prompt exits the debugger Does this happen on GNU/Linux as well, or is this some Windows specific problem (perhaps even specific to my build)? If this is indeed the expected behavior, shouldn't we try making the two interpreters behave in similar ways? TIA