From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1839 invoked by alias); 21 Apr 2002 19:52:15 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 1829 invoked from network); 21 Apr 2002 19:52:13 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 21 Apr 2002 19:52:13 -0000 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 16zNNY-0006gX-00; Sun, 21 Apr 2002 15:52:08 -0400 Date: Sun, 21 Apr 2002 12:52:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: gdb@sources.redhat.com Subject: Re: operate-and-get-next is off by one Message-ID: <20020421155208.A25490@nevyn.them.org> Mail-Followup-To: Tom Tromey , gdb@sources.redhat.com References: <20020421010329.A17137@nevyn.them.org> <87wuv0rgs9.fsf@creche.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87wuv0rgs9.fsf@creche.redhat.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-04/txt/msg00350.txt.bz2 On Sun, Apr 21, 2002 at 01:30:14PM -0600, Tom Tromey wrote: > >>>>> "Daniel" == Daniel Jacobowitz writes: > > Daniel> It appears to be "operate-and-get-command-after-next" right > Daniel> now. It's skipping every other command... > > What system? How are you invoking gdb? > > I updated and rebuilt gdb from scratch on x86 Linux (RHL 6.2). > operate-and-get-next seems to work fine in my simple test: > > p 1 > p 2 > p 3 > C-n C-n C-n > C-o C-o You mean C-p, I assume... > If you can tell me a simple way to reproduce the problem I will look > at it. I can no longer reproduce the exact sequence, unfortunately. It was an interaction with 'commands'; I was trying to reset the commands of a breakpoint. Now when I try it simply skips all the '>' prompts, and leaves the command after 'commands' at the (gdb) prompt after I type 'end'. It would be very convenient if C-o worked at the > prompt also, since everything you type there makes it into the command history. If I reproduce the original problem again I'll let you know. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer