From b223b0d72fb7b55567d3a89a4e06e758a7f6f79b Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Sun, 7 Jul 2019 18:22:34 +0200 Subject: gdbinit: color prompt + remove hook comments --- gdbinit | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'gdbinit') diff --git a/gdbinit b/gdbinit index 01fa076..e88ca29 100644 --- a/gdbinit +++ b/gdbinit @@ -4,7 +4,7 @@ set history filename ~/.gdb/gdb_history set history save on -set prompt do_wizardry> +set prompt \033[31mdo_wizardry> \033[0m set disassembly-flavor intel @@ -18,16 +18,6 @@ define br source ~/.gdb/breakpoint.$arg0.save end -# gdb hooks -- just define a macro with hook-, eg: -# define foo -# # do sth ... -# end -# define hook-foo -# # do sth ... -# end -# -# run foo in gdb, then hook-foo will be executed prior - define hook-quit bs q end -- cgit v1.2.3