aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoah Friedman2011-04-22 16:29:02 -0700
committerNoah Friedman2011-04-22 16:29:02 -0700
commitc243bc792c65a94733ecdbfa2aa7f5a38a76885e (patch)
tree8a06476f2b6b3195de5b17f616ffded6213aaac8
parentc2fb1b6051a9acd880d99954504dd94259628f19 (diff)
downloademacs-c243bc792c65a94733ecdbfa2aa7f5a38a76885e.tar.gz
emacs-c243bc792c65a94733ecdbfa2aa7f5a38a76885e.zip
Add trailing underscores to appropriate member names, per change 2011-02-14T15:39:19Z!tromey@redhat.com of src/lisp.h.
-rw-r--r--etc/ChangeLog6
-rw-r--r--etc/emacs-buffer.gdb23
2 files changed, 17 insertions, 12 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog
index 002dfaf7fd5..24f44b9d0e8 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,9 @@
12011-04-22 Noah Friedman <friedman@splode.com>
2
3 * emacs-buffer.gdb: Add trailing underscores to appropriate member
4 names, per change tromey@redhat.com-20110214153919-bxkckrdmmg4qhyyj
5 of src/lisp.h.
6
12011-04-08 Christoph Scholtes <cschol2112@googlemail.com> 72011-04-08 Christoph Scholtes <cschol2112@googlemail.com>
2 8
3 * NEWS: Document new function `vc-ediff'. 9 * NEWS: Document new function `vc-ediff'.
diff --git a/etc/emacs-buffer.gdb b/etc/emacs-buffer.gdb
index 14a7615801c..1378e5b81fc 100644
--- a/etc/emacs-buffer.gdb
+++ b/etc/emacs-buffer.gdb
@@ -1,12 +1,8 @@
1# emacs-buffer.gdb --- gdb macros for recovering buffers from emacs coredumps 1# emacs-buffer.gdb --- gdb macros for recovering buffers from emacs coredumps
2 2
3# Copyright (C) 2005-2011 Free Software Foundation, Inc. 3# Copyright (C) 2005, 06, 2011 Free Software Foundation, Inc.
4 4
5# Maintainer: Noah Friedman <friedman@splode.com> 5# Maintainer: Noah Friedman <friedman@splode.com>
6# Status: Works with Emacs 22.0.51.1 (prerelease) as of 2006-01-12.
7# Older cvs snapshots, and released versions, will not work due to
8# changes in lisp data structures. But there are older versions of
9# this gdb script which work with those versions.
10# Created: 2005-04-28 6# Created: 2005-04-28
11 7
12# This file is part of GNU Emacs. 8# This file is part of GNU Emacs.
@@ -37,6 +33,10 @@
37# `ysave-buffer', and `ybuffer-contents'. The `y' prefix avoids any 33# `ysave-buffer', and `ybuffer-contents'. The `y' prefix avoids any
38# namespace collisions with emacs/src/.gdbinit. 34# namespace collisions with emacs/src/.gdbinit.
39 35
36# Since the internal data structures in Emacs occasionally from time to
37# time, you should use the version of this file that came with your
38# particular Emacs version; older versions might not work anymore.
39
40# Example usage: 40# Example usage:
41# 41#
42# $ gdb /export/src/emacs/2005-05-02--03-17/src/emacs core.emacs.6.9845 42# $ gdb /export/src/emacs/2005-05-02--03-17/src/emacs core.emacs.6.9845
@@ -107,16 +107,16 @@ define ybuffer-list
107 ygetptr $buf 107 ygetptr $buf
108 set $buf = (struct buffer *) $ptr 108 set $buf = (struct buffer *) $ptr
109 109
110 if ! ($files_only && $buf->filename == Qnil) 110 if ! ($files_only && $buf->filename_ == Qnil)
111 ygetptr $buf->name 111 ygetptr $buf->name_
112 set $name = ((struct Lisp_String *) $ptr)->data 112 set $name = ((struct Lisp_String *) $ptr)->data
113 set $modp = ($buf->text->modiff > $buf->text->save_modiff) ? '*' : ' ' 113 set $modp = ($buf->text->modiff > $buf->text->save_modiff) ? '*' : ' '
114 114
115 ygetptr $buf->mode_name 115 ygetptr $buf->mode_name_
116 set $mode = ((struct Lisp_String *) $ptr)->data 116 set $mode = ((struct Lisp_String *) $ptr)->data
117 117
118 if $buf->filename != Qnil 118 if $buf->filename_ != Qnil
119 ygetptr $buf->filename 119 ygetptr $buf->filename_
120 printf "%2d %c %9d %-20s %-10s %s\n", \ 120 printf "%2d %c %9d %-20s %-10s %s\n", \
121 $i, $modp, ($buf->text->z_byte - 1), $name, $mode, \ 121 $i, $modp, ($buf->text->z_byte - 1), $name, $mode, \
122 ((struct Lisp_String *) $ptr)->data 122 ((struct Lisp_String *) $ptr)->data
@@ -193,7 +193,7 @@ document yget-buffer-pointers
193end 193end
194 194
195define yget-current-buffer-name 195define yget-current-buffer-name
196 set $this = $ycurrent_buffer->name 196 set $this = $ycurrent_buffer->name_
197 ygetptr $this 197 ygetptr $this
198 set $ycurrent_buffer_name = ((struct Lisp_String *) $ptr)->data 198 set $ycurrent_buffer_name = ((struct Lisp_String *) $ptr)->data
199end 199end
@@ -267,4 +267,3 @@ end
267# local variables: 267# local variables:
268# mode: gdb-script 268# mode: gdb-script
269# end: 269# end:
270