comparison src/.gdbinit @ 84741:e903d611edc5

(xbacktrace): Print the arg's address rather than the value of the first arg, since that value may be a union.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 21 Sep 2007 07:00:04 +0000
parents c8a29e0fe869
children 0dd5043f1b3e bdb3fe0ba9fa
comparison
equal deleted inserted replaced
84740:275cddd2a0da 84741:e903d611edc5
996 set $bt = backtrace_list 996 set $bt = backtrace_list
997 while $bt 997 while $bt
998 xgettype (*$bt->function) 998 xgettype (*$bt->function)
999 if $type == Lisp_Symbol 999 if $type == Lisp_Symbol
1000 xprintsym (*$bt->function) 1000 xprintsym (*$bt->function)
1001 printf " (0x%x)\n", *$bt->args 1001 printf " (0x%x)\n", $bt->args
1002 else 1002 else
1003 printf "0x%x ", *$bt->function 1003 printf "0x%x ", *$bt->function
1004 if $type == Lisp_Vectorlike 1004 if $type == Lisp_Vectorlike
1005 xgetptr (*$bt->function) 1005 xgetptr (*$bt->function)
1006 set $size = ((struct Lisp_Vector *) $ptr)->size 1006 set $size = ((struct Lisp_Vector *) $ptr)->size