aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Möllmann2025-01-12 08:44:18 +0100
committerGerd Möllmann2025-01-12 08:46:28 +0100
commitd00de6f166af77e686d0dd7a0d22fcf8f0e09f37 (patch)
treeb1cb9e016d2fec7c1799bbe533eb234b12dc3b40 /src
parent54e4b305032d4dadbee286179fa78e01d4d15182 (diff)
downloademacs-d00de6f166af77e686d0dd7a0d22fcf8f0e09f37.tar.gz
emacs-d00de6f166af77e686d0dd7a0d22fcf8f0e09f37.zip
; Add some niceties to .lldbinit
* src/.lldbinit: Handle some signals for tty Emacs. New commands xreload and xattach. Common breakpoints.
Diffstat (limited to 'src')
-rw-r--r--src/.lldbinit15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/.lldbinit b/src/.lldbinit
index 55523fa2719..17676a2dc4c 100644
--- a/src/.lldbinit
+++ b/src/.lldbinit
@@ -30,7 +30,22 @@ script -- sys.path.append('../etc')
30# Load our Python files 30# Load our Python files
31command script import emacs_lldb 31command script import emacs_lldb
32 32
33# Reload emacs_lldb.py
34command alias xreload command script import emacs_lldb
35
33# Print with children provider, depth 2. 36# Print with children provider, depth 2.
34command alias xprint frame variable -P 2 37command alias xprint frame variable -P 2
35 38
39# Attach to future Emacs. On a tty, it might be advisable to redirect
40# Emacs' stderr to some log file so that one can see the output of
41# xdebug_print and other output to stderr.
42command alias xattach process attach --waitfor --name emacs --continue
43
44# For tty Emacs
45process handle SIGWINCH --pass true --stop false --notify false
46process handle SIGINT --pass true --stop false --notify false
47
48b emacs_abort
49b die
50
36# end. 51# end.