diff options
| author | Paul Eggert | 2019-07-23 09:19:09 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-07-23 09:23:20 -0700 |
| commit | 8dd5b6ea56c38669bc98104ee2d6b31496624d28 (patch) | |
| tree | 3c0f5d0259478f97052fd21585cb24d5d105437c /etc | |
| parent | 29a7d73d195761e8309a4fe23872888758436d1e (diff) | |
| download | emacs-8dd5b6ea56c38669bc98104ee2d6b31496624d28.tar.gz emacs-8dd5b6ea56c38669bc98104ee2d6b31496624d28.zip | |
Improve pdumper doc; say unexec is deprecated
Say that pdumping cannot redump unless -batch is used. Say that
the traditional unexec dumping method is by default not available,
and is deprecated. Don't call dump files "portable", as dump files
are not any more portable than the Emacs executables themselves.
Just call them "dump files". Similar, prefer "portable dumper"
(since the dumper code is portable) to "portable dumping" (since
the dump file is not). Be more systematic about calling them
"dump files" instead of "dumped images" or whatnot.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 14 | ||||
| -rw-r--r-- | etc/TODO | 6 |
2 files changed, 10 insertions, 10 deletions
| @@ -92,11 +92,6 @@ and in particular better supports the Address Space Layout | |||
| 92 | Randomization (ASLR) feature, a security technique used by most modern | 92 | Randomization (ASLR) feature, a security technique used by most modern |
| 93 | operating systems. | 93 | operating systems. |
| 94 | 94 | ||
| 95 | Portable dumping can be disabled at configure time via the configure | ||
| 96 | option '--with-dumping=unexec' (but we don't recommend that, unless | ||
| 97 | the portable dumping doesn't work on your system for some | ||
| 98 | reason---please report such systems to the Emacs developers as bugs). | ||
| 99 | |||
| 100 | When built with the portable dumping support (which is the default), | 95 | When built with the portable dumping support (which is the default), |
| 101 | Emacs looks for the 'emacs.pdmp' file, generated during the build, in | 96 | Emacs looks for the 'emacs.pdmp' file, generated during the build, in |
| 102 | its data directory at startup, and loads the dumped state from there. | 97 | its data directory at startup, and loads the dumped state from there. |
| @@ -104,6 +99,15 @@ The new command-line argument '--dump-file=FILE' allows to specify a | |||
| 104 | non-default '.pdmp' file to load the state from; see the node "Initial | 99 | non-default '.pdmp' file to load the state from; see the node "Initial |
| 105 | Options" in the Emacs manual for more information. | 100 | Options" in the Emacs manual for more information. |
| 106 | 101 | ||
| 102 | An Emacs started via a dump file can create a new dump file only if it | ||
| 103 | was invoked with the -batch option. | ||
| 104 | |||
| 105 | Although the portable dumper has been tested, it may have a bug on | ||
| 106 | unusual platforms. If you require traditional unexec dumping you can | ||
| 107 | use the configure-time option '--with-dumping=unexec'; however, please | ||
| 108 | file a bug report describing the situation, as unexec dumping is | ||
| 109 | deprecated. | ||
| 110 | |||
| 107 | +++ | 111 | +++ |
| 108 | ** The new configure option '--enable-checking=structs' attempts to | 112 | ** The new configure option '--enable-checking=structs' attempts to |
| 109 | check that the portable dumper code has been updated to match the last | 113 | check that the portable dumper code has been updated to match the last |
| @@ -297,11 +297,7 @@ One way of doing this is to start with fx's dynamic loading, and use it | |||
| 297 | to implement things like auto-loaded buffer parsers and database | 297 | to implement things like auto-loaded buffer parsers and database |
| 298 | access in cases which need more than Lisp. | 298 | access in cases which need more than Lisp. |
| 299 | 299 | ||
| 300 | ** Replace unexec with a more portable form of dumping | 300 | ** Fix portable dumping so that you can redump without using -batch. |
| 301 | See eg https://lists.gnu.org/r/emacs-devel/2014-01/msg01034.html | ||
| 302 | https://lists.gnu.org/r/emacs-devel/2014-06/msg00452.html | ||
| 303 | |||
| 304 | One way is to provide portable undumping using mmap (per gerd design). | ||
| 305 | 301 | ||
| 306 | ** Imenu could be extended into a file-structure browsing mechanism | 302 | ** Imenu could be extended into a file-structure browsing mechanism |
| 307 | using code like that of customize-groups. | 303 | using code like that of customize-groups. |