From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 359 invoked by alias); 30 Oct 2006 21:13:58 -0000 Received: (qmail 350 invoked by uid 22791); 30 Oct 2006 21:13:57 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Mon, 30 Oct 2006 21:13:50 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GeeS3-0005tp-FB; Mon, 30 Oct 2006 16:13:47 -0500 Date: Mon, 30 Oct 2006 21:13:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: gdb@sourceware.org Subject: Re: How to recall the commands run in previous gdb session? Message-ID: <20061030211347.GA22489@nevyn.them.org> Mail-Followup-To: Eli Zaretskii , gdb@sourceware.org References: <366c6f340610291235u2d8a430el92c6c5353134c37e@mail.gmail.com> <20061029204933.GA11060@nevyn.them.org> <20061030041113.GA23811@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) 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/msg00307.txt.bz2 On Mon, Oct 30, 2006 at 10:59:38PM +0200, Eli Zaretskii wrote: > > Date: Sun, 29 Oct 2006 23:11:13 -0500 > > From: Daniel Jacobowitz > > Cc: gdb@sourceware.org > > > > I think that making GDB start to write temporary files in $PWD by > > default would be extremely annoying. > > Okay, but can we at least make it read ./.gdb_history, if that exists? I can see why that would be a good idea. Before I make any changes in this area, I will definitely look into that and see if it's possible. Or a simpler possibility: we could use .gdb_history as the default if it exists and $HOME/.gdb_history otherwise. -- Daniel Jacobowitz CodeSourcery