emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: old bootstrap error emerges again


From: Eli Zaretskii
Subject: Re: old bootstrap error emerges again
Date: Sun, 19 Mar 2006 06:37:47 +0200

> From: Dieter Deyke <address@hidden>
> Cc: address@hidden, address@hidden
> Date: Sat, 18 Mar 2006 17:59:08 -0700
> 
> (gdb) set args -f batch-byte-compile url/vc-dav.el
> (gdb) run
> Starting program: C:\Users\deyke\emacs-build\work\lisp/../bin/emacs.exe -f 
> batch
> -byte-compile url/vc-dav.el
> 
> Breakpoint 1, get_doc_string (filepos=-2047792, unibyte=0, definition=0)
>     at doc.c:196
> 196             error ("Cannot open doc string file \"%s\"", name);
> (gdb) backtrace
> #0  get_doc_string (filepos=-2047792, unibyte=0, definition=0) at doc.c:196
> #1  0x0110d925 in Fdocumentation (function=27789273, raw=27674673) at 
> doc.c:456

Thanks.  At this point, it would help if you do the following:

  . Print the value of filepos:

    (gdb) p filepos
    (gdb) pr

  . Print the value of Vdoc_file_name, which should be a string:

    (gdb) p Vdoc_file_name
    (gdb) pr

  . Print the value of Vdoc_directory, which should also be a string:

    (gdb) p Vdoc_directory
    (gdb) pr

  . Produce a Lisp backtrace:

    (gdb) xbacktrace

  . Post here the results.

Thanks!

Note that, for these commands to work, you need either to start GDB in
the src directory or type "source /path-to-src/src/.gdbinit" inside
GDB, because the commands `pr' and `xbacktrace' are defined there.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]