projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0883c80
)
Port .gdbinit to clang with -gdwarf-4
author
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 9 Mar 2020 19:24:21 +0000
(12:24 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 9 Mar 2020 19:25:56 +0000
(12:25 -0700)
* src/.gdbinit (xgetsym): Port to clang with -gdwarf-4, which
doesn’t output the type of lispsym anywhere other than emacs.o
(Bug#39962).
src/.gdbinit
patch
|
blob
|
history
diff --git
a/src/.gdbinit
b/src/.gdbinit
index 5dd01337153f13c9d80f1026345fac8d757f81df..30c7b055ce0d5530579023a3316420d431c3d6df 100644
(file)
--- 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