From: martin rudalics <rudalics@gmx.at>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Abort when creating frame
Date: Tue, 06 Sep 2011 20:44:12 +0200 [thread overview]
Message-ID: <4E6669FC.1030909@gmx.at> (raw)
In-Reply-To: <83bouxk3rl.fsf@gnu.org>
> 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
next prev parent reply other threads:[~2011-09-06 18:44 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-05 16:47 Abort when creating frame martin rudalics
2011-09-05 17:22 ` Eli Zaretskii
2011-09-05 17:32 ` Eli Zaretskii
2011-09-05 17:57 ` martin rudalics
2011-09-05 19:29 ` Eli Zaretskii
2011-09-05 20:07 ` Eli Zaretskii
2011-09-05 20:26 ` martin rudalics
2011-09-06 2:52 ` Eli Zaretskii
2011-09-06 6:57 ` martin rudalics
2011-09-06 7:09 ` Eli Zaretskii
2011-09-06 9:22 ` martin rudalics
2011-09-06 9:48 ` Eli Zaretskii
2011-09-06 12:23 ` martin rudalics
2011-09-06 12:30 ` martin rudalics
2011-09-06 16:57 ` Eli Zaretskii
2011-09-06 18:44 ` martin rudalics [this message]
2011-09-07 16:50 ` Eli Zaretskii
2011-09-07 18:30 ` martin rudalics
2011-09-07 18:54 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E6669FC.1030909@gmx.at \
--to=rudalics@gmx.at \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.