# HG changeset patch # User Stefan Monnier # Date 1190358004 0 # Node ID e903d611edc5f6678284bea0f43b37579b131528 # Parent 275cddd2a0dafc91d8edf5f8161215e53e1a5db7 (xbacktrace): Print the arg's address rather than the value of the first arg, since that value may be a union. diff -r 275cddd2a0da -r e903d611edc5 src/.gdbinit --- 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 diff -r 275cddd2a0da -r e903d611edc5 src/ChangeLog --- 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 + * .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.