emacs-devel
[Top][All Lists]
Advanced

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

Re: Finding the dump


From: Stefan Monnier
Subject: Re: Finding the dump
Date: Sun, 27 Jan 2019 05:44:59 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> Given that there can be several dumps for a given `emacs` executable,
>> I think it would make a lot of sense to try and support the creation of
>> executable dumps (e.g. with a shebang which only needs to look for the
>> one-and-only corresponding `emacs` executable regardless of argv[0]).
>
> I think the best option would be to add the fingerprint to name of the
> dump file.  That way the dump file would have a fixed name, independent
> of how the corresponding emacs binaries is named, or how it is called.
> It would just try to load emacs-${fingerprint}.pdmp, and always find the
> right one.

That prevents having several dumps for the same executable and that
doesn't help finding the directory in which the dump is stored.

I agree we should add the fingerprint, but I think it should be added to
the `emacs` executable (so the executable-dump can easily find it).


        Stefan



reply via email to

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