diff options
| author | Paul Eggert | 2020-03-09 12:24:21 -0700 |
|---|---|---|
| committer | Paul Eggert | 2020-03-09 12:25:56 -0700 |
| commit | 4537976afda2dfe2d20f2f572ca64c71ec8425ec (patch) | |
| tree | 7f572267e4f0887cf00ef4997031a6324a02eec3 /src | |
| parent | 0883c800a0bfa259aa5ef876722b839a9592dbe0 (diff) | |
| download | emacs-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/.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 | |||
| 72 | 72 | ||
| 73 | define xgetsym | 73 | define 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)) |
| 76 | end | 76 | end |
| 77 | 77 | ||
| 78 | # Access the name of a symbol | 78 | # Access the name of a symbol |