[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r103974: Add trailing underscores to
From: |
Noah Friedman |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r103974: Add trailing underscores to appropriate member names, per change address@hidden of src/lisp.h. |
Date: |
Fri, 22 Apr 2011 16:29:02 -0700 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 103974
committer: Noah Friedman <address@hidden>
branch nick: trunk
timestamp: Fri 2011-04-22 16:29:02 -0700
message:
Add trailing underscores to appropriate member names, per change
address@hidden of src/lisp.h.
modified:
etc/ChangeLog
etc/emacs-buffer.gdb
=== modified file 'etc/ChangeLog'
--- a/etc/ChangeLog 2011-04-20 17:33:09 +0000
+++ b/etc/ChangeLog 2011-04-22 23:29:02 +0000
@@ -1,3 +1,9 @@
+2011-04-22 Noah Friedman <address@hidden>
+
+ * emacs-buffer.gdb: Add trailing underscores to appropriate member
+ names, per change address@hidden
+ of src/lisp.h.
+
2011-04-08 Christoph Scholtes <address@hidden>
* NEWS: Document new function `vc-ediff'.
=== modified file 'etc/emacs-buffer.gdb'
--- a/etc/emacs-buffer.gdb 2011-01-25 04:08:28 +0000
+++ b/etc/emacs-buffer.gdb 2011-04-22 23:29:02 +0000
@@ -1,12 +1,8 @@
# emacs-buffer.gdb --- gdb macros for recovering buffers from emacs coredumps
-# Copyright (C) 2005-2011 Free Software Foundation, Inc.
+# Copyright (C) 2005, 06, 2011 Free Software Foundation, Inc.
# Maintainer: Noah Friedman <address@hidden>
-# Status: Works with Emacs 22.0.51.1 (prerelease) as of 2006-01-12.
-# Older cvs snapshots, and released versions, will not work due to
-# changes in lisp data structures. But there are older versions of
-# this gdb script which work with those versions.
# Created: 2005-04-28
# This file is part of GNU Emacs.
@@ -37,6 +33,10 @@
# `ysave-buffer', and `ybuffer-contents'. The `y' prefix avoids any
# namespace collisions with emacs/src/.gdbinit.
+# Since the internal data structures in Emacs occasionally from time to
+# time, you should use the version of this file that came with your
+# particular Emacs version; older versions might not work anymore.
+
# Example usage:
#
# $ gdb /export/src/emacs/2005-05-02--03-17/src/emacs core.emacs.6.9845
@@ -107,16 +107,16 @@
ygetptr $buf
set $buf = (struct buffer *) $ptr
- if ! ($files_only && $buf->filename == Qnil)
- ygetptr $buf->name
+ if ! ($files_only && $buf->filename_ == Qnil)
+ ygetptr $buf->name_
set $name = ((struct Lisp_String *) $ptr)->data
set $modp = ($buf->text->modiff > $buf->text->save_modiff) ? '*' : ' '
- ygetptr $buf->mode_name
+ ygetptr $buf->mode_name_
set $mode = ((struct Lisp_String *) $ptr)->data
- if $buf->filename != Qnil
- ygetptr $buf->filename
+ if $buf->filename_ != Qnil
+ ygetptr $buf->filename_
printf "%2d %c %9d %-20s %-10s %s\n", \
$i, $modp, ($buf->text->z_byte - 1), $name, $mode, \
((struct Lisp_String *) $ptr)->data
@@ -193,7 +193,7 @@
end
define yget-current-buffer-name
- set $this = $ycurrent_buffer->name
+ set $this = $ycurrent_buffer->name_
ygetptr $this
set $ycurrent_buffer_name = ((struct Lisp_String *) $ptr)->data
end
@@ -267,4 +267,3 @@
# local variables:
# mode: gdb-script
# end:
-
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r103974: Add trailing underscores to appropriate member names, per change address@hidden of src/lisp.h.,
Noah Friedman <=