summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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