From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2713 invoked by alias); 8 Apr 2013 14:37:55 -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 2704 invoked by uid 89); 8 Apr 2013 14:37:54 -0000 X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1 Received: from mail-pa0-f45.google.com (HELO mail-pa0-f45.google.com) (209.85.220.45) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 08 Apr 2013 14:37:54 +0000 Received: by mail-pa0-f45.google.com with SMTP id kl13so3312029pab.4 for ; Mon, 08 Apr 2013 07:37:52 -0700 (PDT) X-Received: by 10.66.227.104 with SMTP id rz8mr38298244pac.85.1365431871829; Mon, 08 Apr 2013 07:37:51 -0700 (PDT) Received: from localhost ([118.186.128.229]) by mx.google.com with ESMTPS id lb8sm40238537pab.13.2013.04.08.07.37.44 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Mon, 08 Apr 2013 07:37:51 -0700 (PDT) Date: Mon, 08 Apr 2013 14:37:00 -0000 From: ishare To: gdb@sourceware.org Subject: reverse execution Message-ID: <20130408143437.GA13810@debian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-SW-Source: 2013-04/txt/msg00018.txt.bz2 I record at 0x40000000 , then I nexti 10 instructions , then I want reverse execute these 10 instructions one by one, So I type reverse-nexti ,but unexpectly ,gdb directly goes back to the addresss 0x40000000 ,where I start record . What I need is 10->9->8->7->6->5->4->3->2->1 ,not execute again from begin to end . How can I do for this ? thanks in advance !