Gdbinit
Gdbinit copied to clipboard
Enable or disable coloring depending on who is executing .gdbinit
Hi, thanks for this nice script.
Every now and then I use your .gdbinit
with ddd
, which is confused by the color codes. Is there any way to enable color if gdb
is executing and disable it if ddd
is executing?
Thanks, Giovanni.
There is a configuration option for that. You should never blindly execute scripts on your machine ;-)
I know there is an option to disable colors. But I was hoping for that option to be automatically selected or not depending on the program used to debug, without me having to modify the configuration file. Is this possible?
No idea, I don't use ddd. I guess not.
@giomasce
gdb --nh
is what u r looking for