aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2020-03-09 12:24:21 -0700
committerPaul Eggert2020-03-09 12:25:56 -0700
commit4537976afda2dfe2d20f2f572ca64c71ec8425ec (patch)
tree7f572267e4f0887cf00ef4997031a6324a02eec3 /src
parent0883c800a0bfa259aa5ef876722b839a9592dbe0 (diff)
downloademacs-4537976afda2dfe2d20f2f572ca64c71ec8425ec.tar.gz
emacs-4537976afda2dfe2d20f2f572ca64c71ec8425ec.zip
Port .gdbinit to clang with -gdwarf-4
* src/.gdbinit (xgetsym): Port to clang with -gdwarf-4, which doesn’t output the type of lispsym anywhere other than emacs.o (Bug#39962).
Diffstat (limited to 'src')
-rw-r--r--src/.gdbinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index 5dd01337153..30c7b055ce0 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -72,7 +72,7 @@ end
72 72
73define xgetsym 73define xgetsym
74 xgetptr $arg0 74 xgetptr $arg0
75 set $ptr = ((struct Lisp_Symbol *) ((char *)lispsym + $ptr)) 75 set $ptr = ((struct Lisp_Symbol *) ((char *) &lispsym + $ptr))
76end 76end
77 77
78# Access the name of a symbol 78# Access the name of a symbol