summaryrefslogtreecommitdiff
path: root/src/.gdbinit
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2012-09-30 16:06:20 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2012-09-30 16:06:20 -0400
commitb43d62ae72b1b597b145077537444c422279994e (patch)
tree35198a523157164a73357fb60bd64e9af8ba24e7 /src/.gdbinit
parent4c478e6b45d9e868efaf5f402fad2e54f4324a93 (diff)
downloademacs-b43d62ae72b1b597b145077537444c422279994e.tar.gz
* src/.gdbinit (xbacktrace): Adjust to recent "struct backtrace" change.
Diffstat (limited to 'src/.gdbinit')
-rw-r--r--src/.gdbinit8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index 7a6bfb07fed..952d7392a4c 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -1121,15 +1121,15 @@ end
define xbacktrace
set $bt = backtrace_list
while $bt
- xgettype (*$bt->function)
+ xgettype ($bt->function)
if $type == Lisp_Symbol
- xprintsym (*$bt->function)
+ xprintsym ($bt->function)
printf " (0x%x)\n", $bt->args
else
- xgetptr *$bt->function
+ xgetptr $bt->function
printf "0x%x ", $ptr
if $type == Lisp_Vectorlike
- xgetptr (*$bt->function)
+ xgetptr ($bt->function)
set $size = ((struct Lisp_Vector *) $ptr)->header.size
if ($size & PSEUDOVECTOR_FLAG)
output (enum pvec_type) (($size & PVEC_TYPE_MASK) >> PSEUDOVECTOR_SIZE_BITS)