summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Stoelp <jstolp@stormcs370.internal.synopsys.com>2019-07-07 18:22:34 +0200
committerJohannes Stoelp <jstolp@stormcs370.internal.synopsys.com>2019-07-07 18:22:34 +0200
commitb223b0d72fb7b55567d3a89a4e06e758a7f6f79b (patch)
tree4ab49dd03e6bc4b7b9005a95c481848d9c32f5f3
parent35bd7cf5e48659c167c48c497023f382ee9f307e (diff)
downloaddotfiles-b223b0d72fb7b55567d3a89a4e06e758a7f6f79b.tar.gz
dotfiles-b223b0d72fb7b55567d3a89a4e06e758a7f6f79b.zip
gdbinit: color prompt + remove hook comments
-rw-r--r--gdbinit12
1 files changed, 1 insertions, 11 deletions
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-<cmd_name>, 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