emacs-devel
[Top][All Lists]
Advanced

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

Re: Building Emacs-cvs on Cygwin


From: Eli Zaretskii
Subject: Re: Building Emacs-cvs on Cygwin
Date: Tue, 26 Sep 2006 23:10:23 +0300

> Date: Tue, 26 Sep 2006 14:48:40 +0200 (MET DST)
> From: Angelo Graziosi <address@hidden>
> cc: address@hidden, address@hidden
> > 
> > For those two commands to work, you need to start GDB from the Emacs
> > src directory, so that GDB reads the .gdbinit file there.
> > 
> 
> As I have written in the last replay, I cannot run Emacs from that
> directory:

Sorry, I forgot.

It is strange that changing a directory has this effect, but here are
a few possibilities to work around the problem.  All of the following
possibilities assume you start from the `src' directory:

 1) gdb ./emacs.exe

 2) gdb /usr/local/emacs-22.0.50/bin/emacs.exe

 3) cd /usr/local/emacs-22.0.50/bin
    gdb ./emacs.exe
    (gdb) source /tmp/emacs/.build/src/.gdbinit

If none of the above helps get rid of the hang, try to edit the file
src/.gdbinit so that it is left only with definitions of commands
(each definition is a block that starts with "define" and ends with
"end") and their documentation (blocks that start with "document"),
and remove everything else.

> (gdb) xpr
> Undefined command: "xpr".  Try "help"
> ------------------------------------------------------------
> 
> Perhaps xpr is a mis-typed command

No, it's a command defined in src/.gdbinit.  If you don't start GDB
from the src directory and don't "source" that file from within GDB,
this command will be unknown to GDB.

> > Also, can you try to disable the tool-bar and see if the problem still
> > happens.
> 
> when I start Emacs as I do normally, i.e. after installed in prefix,
> 
> $ emacs-cvs &
> 
> (where emacs-cvs is a link in /usr/local/bin to 
> /usr/local/emacs-22.0.50/bin/emacs.exe)
> 
> and soon I hide the tool-bar (Options-Show/Hide), then I can work with it
> for hours without problem, with more than 20 buffers loaded, using M-x
> compile, C-s (search), M-% (search and replace)....while building e new
> Emacs-CVS, running other C/C++/Fortran programs etc.

Interesting.  So without the tool bar it never crashes, no matter how
long you leave it?




reply via email to

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