mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
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
@ -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…
Reference in New Issue
Block a user