From b43d62ae72b1b597b145077537444c422279994e Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 30 Sep 2012 16:06:20 -0400 Subject: [PATCH] * src/.gdbinit (xbacktrace): Adjust to recent "struct backtrace" change. --- src/.gdbinit | 8 ++++---- src/ChangeLog | 10 +++++++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/.gdbinit b/src/.gdbinit index 7a6bfb07fe..952d7392a4 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -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) diff --git a/src/ChangeLog b/src/ChangeLog index 504f8cbaed..1d3d1f7f4e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,10 +1,14 @@ +2012-09-30 Stefan Monnier + + * .gdbinit (xbacktrace): Adjust to recent "struct backtrace" change. + 2012-09-30 Eli Zaretskii 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. -- 2.20.1