diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-03-09 12:24:21 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-03-09 12:25:56 -0700 |
commit | 4537976afda2dfe2d20f2f572ca64c71ec8425ec (patch) | |
tree | 7f572267e4f0887cf00ef4997031a6324a02eec3 /src/.gdbinit | |
parent | 0883c800a0bfa259aa5ef876722b839a9592dbe0 (diff) | |
download | emacs-4537976afda2dfe2d20f2f572ca64c71ec8425ec.tar.gz |
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/.gdbinit')
-rw-r--r-- | src/.gdbinit | 2 |
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 define xgetsym xgetptr $arg0 - set $ptr = ((struct Lisp_Symbol *) ((char *)lispsym + $ptr)) + set $ptr = ((struct Lisp_Symbol *) ((char *) &lispsym + $ptr)) end # Access the name of a symbol |