diff options
| author | Stefan Monnier | 2007-09-21 07:00:04 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-09-21 07:00:04 +0000 |
| commit | c51842ec0fb0cbef7fa7b2f5e2b8bf2b299591a4 (patch) | |
| tree | d0ac9c2282d9d565190e64d0bfe3ff0fe4ea650c | |
| parent | d2bb65982c9fc5781f3346432951b250360686f5 (diff) | |
| download | emacs-c51842ec0fb0cbef7fa7b2f5e2b8bf2b299591a4.tar.gz emacs-c51842ec0fb0cbef7fa7b2f5e2b8bf2b299591a4.zip | |
(xbacktrace): Print the arg's address rather than the value
of the first arg, since that value may be a union.
| -rw-r--r-- | src/.gdbinit | 2 | ||||
| -rw-r--r-- | src/ChangeLog | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/.gdbinit b/src/.gdbinit index be91a100f49..ad7b666f188 100644 --- a/src/.gdbinit +++ b/src/.gdbinit | |||
| @@ -998,7 +998,7 @@ define xbacktrace | |||
| 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 |
diff --git a/src/ChangeLog b/src/ChangeLog index 1c303f806ce..fce33201988 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * .gdbinit (xbacktrace): Print the arg's address rather than the value | ||
| 4 | of the first arg, since that value may be a union. | ||
| 5 | |||
| 3 | * callproc.c (child_setup, getenv_internal): Use the frame's `display' | 6 | * callproc.c (child_setup, getenv_internal): Use the frame's `display' |
| 4 | parameter rather than Qdisplay_environment_variable. If all else | 7 | parameter rather than Qdisplay_environment_variable. If all else |
| 5 | fails, look for DISPLAY in initial-environment. | 8 | fails, look for DISPLAY in initial-environment. |