From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91413 invoked by alias); 30 Apr 2017 19:04:15 -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 91392 invoked by uid 89); 30 Apr 2017 19:04:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=D*ieee.org, HTo:D*ieee.org, HContent-type:utf-8, UD:X 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 ESMTP; Sun, 30 Apr 2017 19:04:11 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d4u8e-0000J9-Oe for gdb@sourceware.org; Sun, 30 Apr 2017 15:04:11 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d4u8e-0000J5-M4; Sun, 30 Apr 2017 15:04:08 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2613 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d4u8c-0004VS-QU; Sun, 30 Apr 2017 15:04:08 -0400 Date: Sun, 30 Apr 2017 19:04:00 -0000 Message-Id: <83wpa1k9ab.fsf@gnu.org> From: Eli Zaretskii To: David Boles CC: gdb@sourceware.org In-reply-to: <18055C3E-BBEA-4CBD-A12A-511B46D1B2AB@ieee.org> (message from David Boles on Fri, 28 Apr 2017 22:50:18 -0500) Subject: Re: repeat command on return after issuing guile command Reply-to: Eli Zaretskii References: <18055C3E-BBEA-4CBD-A12A-511B46D1B2AB@ieee.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: 2017-04/txt/msg00038.txt.bz2 > From: David Boles > Date: Fri, 28 Apr 2017 22:50:18 -0500 > > I have recently been learning to use the guile mechanism for extending gdb’s capabilities - very powerful. One thing that I have noticed is that after a “guile (…)” command is issued, the normal behavior of gdb re-performing the last command executed if you just hit enter is disabled. This applies to even native gdb commands like “next” or “step” - which is quite painful. > > I have observed this with versions 7.10.x and 7.12.1. I cannot reproduce this with GDB 7.12 built with Guile 2.0.X. I tried this: (gdb) apropos file ... long list of commands ... (gdb) ... the same long list of commands ... (gdb) guile (display (+ 20 3)) (newline) 23 (gdb) apropos file ... long list of commands ... (gdb) ... the same long list of commands ... So it seems to work as expected for me. Can you show a recipe that exhibits the problem on your system?