From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23214 invoked by alias); 30 Oct 2006 04:11:18 -0000 Received: (qmail 23206 invoked by uid 22791); 30 Oct 2006 04:11:17 -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 04:11:15 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GeOUT-0006HG-9D; Sun, 29 Oct 2006 23:11:13 -0500 Date: Mon, 30 Oct 2006 04:11: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: <20061030041113.GA23811@nevyn.them.org> Mail-Followup-To: Eli Zaretskii , gdb@sourceware.org References: <366c6f340610291235u2d8a430el92c6c5353134c37e@mail.gmail.com> <20061029204933.GA11060@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/msg00291.txt.bz2 On Mon, Oct 30, 2006 at 06:08:28AM +0200, Eli Zaretskii wrote: > I agree with turning history saving on by default, but why change the > location of .gdb_history? That'd be an incompatible change, and I > don't see the justification for such a change. Do you? I think that making GDB start to write temporary files in $PWD by default would be extremely annoying. I'd end up with dozens of them littered around my source directories and other places where they aren't wanted (and probably get lots of bug reports from confused Debian users about it). By analogy with bash, I figured $HOME would be the right default location for history. -- Daniel Jacobowitz CodeSourcery