From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Building Emacs-cvs on Cygwin Date: Tue, 26 Sep 2006 23:10:23 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1159301597 12531 80.91.229.2 (26 Sep 2006 20:13:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Sep 2006 20:13:17 +0000 (UTC) Cc: emacs-devel@gnu.org, storm@cua.dk Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 26 22:13:16 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GSJGI-0005BU-UA for ged-emacs-devel@m.gmane.org; Tue, 26 Sep 2006 22:10:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GSJGI-0003bi-Ci for ged-emacs-devel@m.gmane.org; Tue, 26 Sep 2006 16:10:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GSJG6-0003bc-T2 for emacs-devel@gnu.org; Tue, 26 Sep 2006 16:10:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GSJG5-0003bP-Q6 for emacs-devel@gnu.org; Tue, 26 Sep 2006 16:10:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GSJG5-0003bD-LY for emacs-devel@gnu.org; Tue, 26 Sep 2006 16:10:25 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GSJKn-0000eW-8T for emacs-devel@gnu.org; Tue, 26 Sep 2006 16:15:17 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-157-8.inter.net.il [80.230.157.8]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id FVY44497 (AUTH halo1); Tue, 26 Sep 2006 23:10:23 +0300 (IDT) Original-To: Angelo Graziosi In-reply-to: (message from Angelo Graziosi on Tue, 26 Sep 2006 14:48:40 +0200 (MET DST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:60253 Archived-At: > Date: Tue, 26 Sep 2006 14:48:40 +0200 (MET DST) > From: Angelo Graziosi > cc: storm@cua.dk, emacs-devel@gnu.org > > > > 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?