From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Abort when creating frame Date: Tue, 06 Sep 2011 20:44:12 +0200 Message-ID: <4E6669FC.1030909@gmx.at> References: <4E64FD1B.2090002@gmx.at> <83k49mkip0.fsf@gnu.org> <83ipp6ki96.fsf@gnu.org> <4E650D91.50506@gmx.at> <83hb4qkcsw.fsf@gnu.org> <4E65307A.6040406@gmx.at> <83ehzujsak.fsf@gnu.org> <4E65C459.5030904@gmx.at> <4E65E661.3050608@gmx.at> <4E6610C1.8060205@gmx.at> <83bouxk3rl.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1315334672 9265 80.91.229.12 (6 Sep 2011 18:44:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Sep 2011 18:44:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 06 20:44:28 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R10dH-00014N-4P for ged-emacs-devel@m.gmane.org; Tue, 06 Sep 2011 20:44:27 +0200 Original-Received: from localhost ([::1]:56320 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R10dG-0002ro-NK for ged-emacs-devel@m.gmane.org; Tue, 06 Sep 2011 14:44:26 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R10dD-0002rX-97 for emacs-devel@gnu.org; Tue, 06 Sep 2011 14:44:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R10d8-0003Fp-U0 for emacs-devel@gnu.org; Tue, 06 Sep 2011 14:44:23 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:46071) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1R10d8-0003FY-Ft for emacs-devel@gnu.org; Tue, 06 Sep 2011 14:44:18 -0400 Original-Received: (qmail invoked by alias); 06 Sep 2011 18:44:15 -0000 Original-Received: from 62-47-32-128.adsl.highway.telekom.at (EHLO [62.47.32.128]) [62.47.32.128] by mail.gmx.net (mp018) with SMTP; 06 Sep 2011 20:44:15 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/H+BMCKl3HjHmX/kItTe/O6xJS/T1ynNYwfmaovp Wm51cx2Zjolv5w User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <83bouxk3rl.fsf@gnu.org> X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143786 Archived-At: > This is a feature ;-) You will see in w32.c that Emacs sets > EMACSLOADPATH in the environment to the path it creates from known > directories, in order to set load-path correctly. And GDB probably > inherits that exports it to the Emacs being debugged... > > We define EMACSLOADPATH in the environment because the Windows build > doesn't want to depend on PATH_LOADSEARCH macro being set at build > time (in epaths.h), since the compiled binary needs to be able to run > on a different machine. See init_lread. It's obvious to me now but it was absolutely confusing initially. > Perhaps we should remove EMACSLOADPATH from process-environment when > we run inferior subprocesses? Some help for cross-debugging would be needed. A minute ago my debugging emacs crashed on an already crashed debugged emacs. martin