1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00

* src/.gdbinit (xbacktrace): Adjust to recent "struct backtrace" change.

This commit is contained in:
Stefan Monnier 2012-09-30 16:06:20 -04:00
parent 4c478e6b45
commit b43d62ae72
2 changed files with 11 additions and 7 deletions

View File

@ -1121,15 +1121,15 @@ end
define xbacktrace
set $bt = backtrace_list
while $bt
xgettype (*$bt->function)
xgettype ($bt->function)
if $type == Lisp_Symbol
xprintsym (*$bt->function)
xprintsym ($bt->function)
printf " (0x%x)\n", $bt->args
else
xgetptr *$bt->function
xgetptr $bt->function
printf "0x%x ", $ptr
if $type == Lisp_Vectorlike
xgetptr (*$bt->function)
xgetptr ($bt->function)
set $size = ((struct Lisp_Vector *) $ptr)->header.size
if ($size & PSEUDOVECTOR_FLAG)
output (enum pvec_type) (($size & PVEC_TYPE_MASK) >> PSEUDOVECTOR_SIZE_BITS)

View File

@ -1,10 +1,14 @@
2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
* .gdbinit (xbacktrace): Adjust to recent "struct backtrace" change.
2012-09-30 Eli Zaretskii <eliz@gnu.org>
Support atimers and CPU profiler via profile.c on MS-Windows.
* w32proc.c (sig_mask, crit_sig): New static variables.
(sys_signal): Support SIGALRM and SIGPROF.
(sigemptyset, sigaddset, sigfillset, sigprocmask)
(pthread_sigmask, setpgrp): Moved here from w32.c. sigaddset,
(pthread_sigmask, setpgrp): Move here from w32.c. sigaddset,
sigfillset, and sigprocmask are no longer no-ops.
(sigismember): New function.
(struct itimer_data): New definition.
@ -26,8 +30,8 @@
to hourglass timer expiration.
(start_hourglass, cancel_hourglass, DEFAULT_HOURGLASS_DELAY):
Remove, no longer used.
(w32_note_current_window, show_hourglass, hide_hourglass): New
functions, in support of hourglass cursor display similar to other
(w32_note_current_window, show_hourglass, hide_hourglass):
New functions, in support of hourglass cursor display similar to other
window systems.
(syms_of_w32fns): Don't initialize hourglass_timer.