* src/.gdbinit (xbacktrace): Adjust to recent "struct backtrace" change.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 30 Sep 2012 20:06:20 +0000 (16:06 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 30 Sep 2012 20:06:20 +0000 (16:06 -0400)
src/.gdbinit
src/ChangeLog

index 7a6bfb0..952d739 100644 (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)
index 504f8cb..1d3d1f7 100644 (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.