Mercurial > emacs
changeset 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 | 275cddd2a0da |
children | 8c7717ef4418 |
files | src/.gdbinit src/ChangeLog |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/.gdbinit Fri Sep 21 06:58:51 2007 +0000 +++ b/src/.gdbinit Fri Sep 21 07:00:04 2007 +0000 @@ -998,7 +998,7 @@ 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
--- a/src/ChangeLog Fri Sep 21 06:58:51 2007 +0000 +++ b/src/ChangeLog Fri Sep 21 07:00:04 2007 +0000 @@ -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.