GDB BoF notes - GNU Cauldron 2023
Tom Tromey
tom@tromey.com
Thu Sep 28 20:44:47 GMT 2023
>>>>> "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.
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.
Tom
More information about the Gdb
mailing list