(xbacktrace): Print the arg's address rather than the value
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 21 Sep 2007 07:00:04 +0000 (07:00 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 21 Sep 2007 07:00:04 +0000 (07:00 +0000)
of the first arg, since that value may be a union.

src/.gdbinit
src/ChangeLog

index be91a10..ad7b666 100644 (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
index 1c303f8..fce3320 100644 (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.