aboutsummaryrefslogtreecommitdiff
path: root/misc/.gdbinit
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2024-11-05 11:52:13 +1100
committerYuchen Pei <id@ypei.org>2024-11-05 11:52:13 +1100
commit90b0da4820632a040975ce825c69322e7d7d0d7f (patch)
tree3d4c6cec96f18d6f4a49c6a155a2caed6b09c7c8 /misc/.gdbinit
parent6f7d2224f66f0c8442780955e467ca600bb91ebf (diff)
[emacs][gdb] minor changes
* emacs/.emacs.d/init/ycp-org.el: disable read-only in org edit special buffer * emacs/.emacs.d/lisp/my/my-org.el: ^ * misc/.gdbinit: a break-and-continue convenience function
Diffstat (limited to 'misc/.gdbinit')
-rw-r--r--misc/.gdbinit4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/.gdbinit b/misc/.gdbinit
index b2c8a1f..b84dbef 100644
--- a/misc/.gdbinit
+++ b/misc/.gdbinit
@@ -19,6 +19,10 @@ alias wl = watch -l
alias awl = awatch -l
alias rwl = rwatch -l
alias rt = restart
+define bc
+ b $arg0
+ c
+end
# Print backtrace of all threads
alias abt = thread apply all bt
set history save on