From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 709F73858C52 for ; Fri, 29 Sep 2023 04:49:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 709F73858C52 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org References: <1e26c71e-e242-de11-a687-46e05586e608@palves.net> <87zg1610zk.fsf@tromey.com> User-agent: mu4e 1.10.6; emacs 30.0.50 From: Sam James To: Tom Tromey Cc: Pedro Alves , gdb@sourceware.org Subject: Re: GDB BoF notes - GNU Cauldron 2023 Date: Fri, 29 Sep 2023 05:48:33 +0100 Organization: Gentoo In-reply-to: <87zg1610zk.fsf@tromey.com> Message-ID: <87edihbn3g.fsf@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Tom Tromey writes: >>>>>> "Pedro" == Pedro Alves writes: > > Pedro> - Revisiting defaults > > Pedro> - Can we turn history saving on by default? Maybe default to > Pedro> history on home dir by default, too (~/.gdb_history). That would > Pedro> align us with bash. > > Maybe some XDG directory? > > Anyway +1 for this from me. Yes, please. I like Guinevere's idea of possibly allowing to separate per session but I don't personally see it as a blocker (it's never bothered me much). > > Pedro> - Can we disable pagination by default? Surprisingly, no one in the > Pedro> room expressed that they like pagination on. > > I leave it on but I can't say I really like it. Mostly I suppose it's a > distraction and I just haven't bothered changing it. > > Pedro> "(gdb) pipe GDB_COMMAND | less" > > I wonder if "with pagination on" works too. > > Anyway +1 on this too. > > > Some other defaults to consider: > > set print object on > set breakpoint pending on > set print pretty on > > The last one is iffy I guess, maybe people like the compact output. The > first two I think I've had to tell many people about over the years. I've had to start putting a lot of these on our wiki because it's so hard to find them / realise they're super useful. > > Tom