1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 15:21:51 -08:00

(xbacktrace): Print the arg's address rather than the value

of the first arg, since that value may be a union.
This commit is contained in:
Stefan Monnier 2007-09-21 07:00:04 +00:00
parent d2bb65982c
commit c51842ec0f
2 changed files with 4 additions and 1 deletions

View file

@ -998,7 +998,7 @@ define xbacktrace
xgettype (*$bt->function)
if $type == Lisp_Symbol
xprintsym (*$bt->function)
printf " (0x%x)\n", *$bt->args
printf " (0x%x)\n", $bt->args
else
printf "0x%x ", *$bt->function
if $type == Lisp_Vectorlike

View file

@ -1,5 +1,8 @@
2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
* .gdbinit (xbacktrace): Print the arg's address rather than the value
of the first arg, since that value may be a union.
* callproc.c (child_setup, getenv_internal): Use the frame's `display'
parameter rather than Qdisplay_environment_variable. If all else
fails, look for DISPLAY in initial-environment.