unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ed Swarthout <ed.swarthout@gmail.com>
Subject: Re: emacs-buffer.gdb
Date: Wed, 8 Jun 2005 23:15:09 -0500	[thread overview]
Message-ID: <fda11fc7050608211540651c88@mail.gmail.com> (raw)

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

             reply	other threads:[~2005-06-09  4:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-09  4:15 Ed Swarthout [this message]
2005-06-09  9:10 ` emacs-buffer.gdb Andreas Schwab
2005-06-10  2:17   ` emacs-buffer.gdb Ed Swarthout
2005-06-10 20:48     ` emacs-buffer.gdb Juri Linkov
2005-06-10 22:44       ` emacs-buffer.gdb Noah Friedman
2005-06-11 13:03         ` emacs-buffer.gdb Eli Zaretskii
2005-06-11 23:38         ` emacs-buffer.gdb Kim F. Storm
  -- strict thread matches above, loose matches on Subject: below --
2005-05-02  5:20 emacs-buffer.gdb Noah Friedman
2005-05-03 17:12 ` emacs-buffer.gdb Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fda11fc7050608211540651c88@mail.gmail.com \
    --to=ed.swarthout@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).