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).
This commit is contained in:
parent
0883c800a0
commit
4537976afd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue