[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-buffer.gdb
From: |
Ed Swarthout |
Subject: |
Re: emacs-buffer.gdb |
Date: |
Wed, 8 Jun 2005 23:15:09 -0500 |
Even though I haven't needed it, thats an impressive gdb macro!
I'm seeing a problem with Qnil filename though:
(gdb) ybuffer-list
B# M Size Name Mode File
-- - ---- ---- ---- ----
0 68954 python.el Emacs-Lisp
/nfs/packages/packages/emacs/emacs/lisp/progmodes/python.el
1 10317 progmodes Dired by dateCannot access memory
at address 0x20
which is fixed by this simple patch:
--- emacs-buffer.gdb.~1.3.~ 2005-05-30 12:01:09.000000000 -0500
+++ emacs-buffer.gdb 2005-06-08 22:08:03.645246008 -0500
@@ -118,7 +118,7 @@
ygetptr $buf->filename
set $filename = ((struct Lisp_String *) $ptr)->data
else
- set $filename = ' '
+ set $filename = " "
end
printf "%2d %c %9d %-20s %-10s %s\n", \
- Ed Swarthout
- Austin, TX
- Re: emacs-buffer.gdb,
Ed Swarthout <=