From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id C3QVLnRXFmUN2x8AWB0awg (envelope-from ) for ; Fri, 29 Sep 2023 00:49:56 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=ytwoYuyS; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id B355B1E0C3; Fri, 29 Sep 2023 00:49:56 -0400 (EDT) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id A6EF01E028 for ; Fri, 29 Sep 2023 00:49:54 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 465723857347 for ; Fri, 29 Sep 2023 04:49:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 465723857347 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695962994; bh=M0r3y1kTlZD7SkYVoU+C/pTnWmToHqOPIzBEfsrzbHM=; h=References:To:Cc:Subject:Date:In-reply-to:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=ytwoYuySYomDb4iwBVec7pBPSlrMQmaYvL/C9kEJ3cYVunFDSspLog9RLT+DRpKTP icvGxg3uM1rBNkG50NLYs2e4TvL/H2+8clce4LmXlsCVyX3iPyfNLYSffxZ1bAIGde tSgLiPi743jIPOi+CW4Uj9xLZfp/3Cit31K00tyI= 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 References: <1e26c71e-e242-de11-a687-46e05586e608@palves.net> <87zg1610zk.fsf@tromey.com> User-agent: mu4e 1.10.6; emacs 30.0.50 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 X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sam James via Gdb Reply-To: Sam James Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" 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