diff options
author | johannst <stoelp@eit.uni-kl.de> | 2018-04-15 17:42:48 +0200 |
---|---|---|
committer | johannst <stoelp@eit.uni-kl.de> | 2018-04-15 17:42:48 +0200 |
commit | 0d2b503be0d2a9ebdd4a35fa66becd74ba20791c (patch) | |
tree | 806cd0b10486abd62a5f68b304b181debb4fd1a7 | |
parent | 3e5cd29dc900ffac54f925d4eee5bade96ed918c (diff) | |
download | dotfiles-0d2b503be0d2a9ebdd4a35fa66becd74ba20791c.tar.gz dotfiles-0d2b503be0d2a9ebdd4a35fa66becd74ba20791c.zip |
gdbinit: set intel disassembly as default
-rw-r--r-- | gdbinit | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -4,7 +4,9 @@ set history filename ~/.gdb/gdb_history set history save on -set prompt bla> +set prompt do_wizardry> + +set disassembly-flavor intel define bs save breakpoints ~/.gdb/breakpoint.$arg0.save @@ -14,6 +16,17 @@ 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 + |