From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6727 invoked by alias); 9 Sep 2009 19:55:22 -0000 Received: (qmail 6674 invoked by uid 22791); 9 Sep 2009 19:55:19 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 09 Sep 2009 19:55:13 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id n89Jsv9v027200; Wed, 9 Sep 2009 21:54:57 +0200 (CEST) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id n89JsvJM001528; Wed, 9 Sep 2009 21:54:57 +0200 (CEST) Date: Wed, 09 Sep 2009 19:55:00 -0000 Message-Id: <200909091954.n89JsvJM001528@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: tromey@redhat.com CC: jan.kratochvil@redhat.com, gdb@sourceware.org, gdb-patches@sourceware.org In-reply-to: (message from Tom Tromey on Wed, 09 Sep 2009 13:40:22 -0600) Subject: Re: [patch] Save the history by default References: <20090908200537.GA14676__29508.7702492767$1252440377$gmane$org@host0.dyn.jankratochvil.net> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-09/txt/msg00259.txt.bz2 > From: Tom Tromey > Date: Wed, 09 Sep 2009 13:40:22 -0600 > > >>>>> "Jan" == Jan Kratochvil writes: > > Jan> 2009-09-08 Jan Kratochvil > Jan> Save the command history by default and use a file in $HOME. > > This idea is fine by me. > > I wouldn't mind changing other defaults too. > We've discussed changing "set print object" a couple of times... > > I did not research this, but please make sure that this patch doesn't > result in gdb saving history: > > 1. When in MI mode > 2. When running the test suite > > Other than those possibilities, this seems fine. > > I think for changes to defaults it makes sense to wait a little while to > let other maintainers speak up in case they have an objection. So > please wait a little while before going ahead. I have no objection to change *this* default since it doesn't really change how you interact with GDB. But I'm far less enthousiastic about changing things like "set print object" that affect the output GDB generates for commands.