From: Sam James via Gdb <gdb@sourceware.org>
To: Tom Tromey <tom@tromey.com>
Cc: Pedro Alves <pedro@palves.net>, gdb@sourceware.org
Subject: Re: GDB BoF notes - GNU Cauldron 2023
Date: Fri, 29 Sep 2023 05:48:33 +0100 [thread overview]
Message-ID: <87edihbn3g.fsf@gentoo.org> (raw)
In-Reply-To: <87zg1610zk.fsf@tromey.com>
Tom Tromey <tom@tromey.com> writes:
>>>>>> "Pedro" == Pedro Alves <pedro@palves.net> 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
next prev parent reply other threads:[~2023-09-29 4:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-27 12:41 Pedro Alves
2023-09-27 13:55 ` Simon Marchi via Gdb
2023-09-27 14:00 ` Guinevere Larsen via Gdb
2023-09-29 9:24 ` Lancelot SIX via Gdb
2023-09-29 9:52 ` Turn history saving on by default? (Re: GDB BoF notes - GNU Cauldron 2023) Pedro Alves
2023-09-29 10:30 ` Guinevere Larsen via Gdb
2023-09-27 20:27 ` GDB BoF notes - GNU Cauldron 2023 John Baldwin
2023-09-29 9:57 ` Pedro Alves
2023-10-06 21:35 ` John Baldwin
2023-09-28 20:44 ` Tom Tromey
2023-09-29 4:48 ` Sam James via Gdb [this message]
2023-09-29 10:25 ` Pedro Alves
2023-10-05 7:08 ` Tom de Vries via Gdb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87edihbn3g.fsf@gentoo.org \
--to=gdb@sourceware.org \
--cc=pedro@palves.net \
--cc=sam@gentoo.org \
--cc=tom@tromey.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox