Commit b43d62ae authored by Stefan Monnier's avatar Stefan Monnier
Browse files

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

parent 4c478e6b
...@@ -1121,15 +1121,15 @@ end ...@@ -1121,15 +1121,15 @@ end
define xbacktrace define xbacktrace
set $bt = backtrace_list set $bt = backtrace_list
while $bt while $bt
xgettype (*$bt->function) xgettype ($bt->function)
if $type == Lisp_Symbol if $type == Lisp_Symbol
xprintsym (*$bt->function) xprintsym ($bt->function)
printf " (0x%x)\n", $bt->args printf " (0x%x)\n", $bt->args
else else
xgetptr *$bt->function xgetptr $bt->function
printf "0x%x ", $ptr printf "0x%x ", $ptr
if $type == Lisp_Vectorlike if $type == Lisp_Vectorlike
xgetptr (*$bt->function) xgetptr ($bt->function)
set $size = ((struct Lisp_Vector *) $ptr)->header.size set $size = ((struct Lisp_Vector *) $ptr)->header.size
if ($size & PSEUDOVECTOR_FLAG) if ($size & PSEUDOVECTOR_FLAG)
output (enum pvec_type) (($size & PVEC_TYPE_MASK) >> PSEUDOVECTOR_SIZE_BITS) output (enum pvec_type) (($size & PVEC_TYPE_MASK) >> PSEUDOVECTOR_SIZE_BITS)
......
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> 2012-09-30 Eli Zaretskii <eliz@gnu.org>
   
Support atimers and CPU profiler via profile.c on MS-Windows. Support atimers and CPU profiler via profile.c on MS-Windows.
* w32proc.c (sig_mask, crit_sig): New static variables. * w32proc.c (sig_mask, crit_sig): New static variables.
(sys_signal): Support SIGALRM and SIGPROF. (sys_signal): Support SIGALRM and SIGPROF.
(sigemptyset, sigaddset, sigfillset, sigprocmask) (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. sigfillset, and sigprocmask are no longer no-ops.
(sigismember): New function. (sigismember): New function.
(struct itimer_data): New definition. (struct itimer_data): New definition.
...@@ -26,8 +30,8 @@ ...@@ -26,8 +30,8 @@
to hourglass timer expiration. to hourglass timer expiration.
(start_hourglass, cancel_hourglass, DEFAULT_HOURGLASS_DELAY): (start_hourglass, cancel_hourglass, DEFAULT_HOURGLASS_DELAY):
Remove, no longer used. Remove, no longer used.
(w32_note_current_window, show_hourglass, hide_hourglass): New (w32_note_current_window, show_hourglass, hide_hourglass):
functions, in support of hourglass cursor display similar to other New functions, in support of hourglass cursor display similar to other
window systems. window systems.
(syms_of_w32fns): Don't initialize hourglass_timer. (syms_of_w32fns): Don't initialize hourglass_timer.
   
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment