at file describes much lower-level detail. emacs-buffer.gdb is really
> just a lazy-man's graverobbing tool; hopefully little to no knowledge of
> emacs internals should be necessary to use it.
Maybe you could add a simple command to src/.gdbinit to load the file.
--
Kim F. Stor
> From: Noah Friedman <[EMAIL PROTECTED]>
> Date: Fri, 10 Jun 2005 15:44:44 -0700 (PDT)
> Cc: [EMAIL PROTECTED], emacs-devel@gnu.org
>
> Juri: I'm indifferent about where it goes, but rms thought etc was a
> reasonable place for it. It's documented in etc/NEWS already and in
> man/trouble.texi.
>> +printf "%2d %c %9d %-20s %-10ss\n", \
> =
>This looks like a tyop.
>
>BTW, emacs-buffer.gdb deserves mentioning in etc/NEWS (and maybe in
>etc/DEBUG as well), and a better location for this file is
>src/emacs
> +printf "%2d %c %9d %-20s %-10ss\n", \
=
This looks like a tyop.
BTW, emacs-buffer.gdb deserves mentioning in etc/NEWS (and maybe in
etc/DEBUG as well), and a better location for this file is
src/emacs-buffer.gdb (where other
d I tested it with a core file, I'd have gotten:
"You can't do that without a process to debug."
Here's a better fix.
-Ed Swarthout
--- emacs-buffer.gdb30 May 2005 17:01:09 - 1.3
+++ emacs-buffer.gdb10 Jun 2005 02:05:38 -
@@ -117,12 +117,13 @@
Ed Swarthout <[EMAIL PROTECTED]> writes:
> which is fixed by this simple patch:
>
> --- emacs-buffer.gdb.~1.3.~ 2005-05-30 12:01:09.00000 -0500
> +++ emacs-buffer.gdb 2005-06-08 22:08:03.645246008 -0500
> @@ -118,7 +118,7 @@
> ygetptr $buf->filena
-Lisp
/nfs/packages/packages/emacs/emacs/lisp/progmodes/python.el
110317 progmodesDired 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.0 -0500
+++ emacs-buffer.gdb2005-06-08 22:08:03
This sounds very useful. Can you contribute this to the Emacs
distribution?
___
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
I thought others might find this useful.
# emacs-buffer.gdb --- gdb macros for recovering buffers from emacs coredumps
# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998, 2000, 01, 2004
# Free Software Foundation, Inc.
# Copyright (C) 2005 Noah S. Friedman
# Maintainer: Noah Friedman <[EM