From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1115 invoked by alias); 29 Oct 2006 20:35:44 -0000 Received: (qmail 1106 invoked by uid 22791); 29 Oct 2006 20:35:43 -0000 X-Spam-Check-By: sourceware.org Received: from nf-out-0910.google.com (HELO nf-out-0910.google.com) (64.233.182.186) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 29 Oct 2006 20:35:41 +0000 Received: by nf-out-0910.google.com with SMTP id o25so2691461nfa for ; Sun, 29 Oct 2006 12:35:39 -0800 (PST) Received: by 10.49.8.10 with SMTP id l10mr4136459nfi; Sun, 29 Oct 2006 12:35:38 -0800 (PST) Received: by 10.49.61.8 with HTTP; Sun, 29 Oct 2006 12:35:38 -0800 (PST) Message-ID: <366c6f340610291235u2d8a430el92c6c5353134c37e@mail.gmail.com> Date: Sun, 29 Oct 2006 20:35:00 -0000 From: "Peng Yu" To: gdb@sourceware.org Subject: How to recall the commands run in previous gdb session? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00281.txt.bz2 Hi, In the same gdb session, I can use up or down arrow to recall commands. But once a gdb session is start over, all the history commands are gone. I'm wondering if it is possible to recall those commands? Thanks, Peng