Mercurial > hg > xemacs-beta
view src/s/hpux11-shr.h @ 4871:d8d92ad084b8
rewrite check for bad memory in debug_can_save_memory
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-01-15 Ben Wing <ben@xemacs.org>
* emacs.c:
* emacs.c (debug_can_access_memory):
When checking for bad memory, we need to read all bytes from memory;
try even harder to avoid the possibility that a super-optimizing
compiler will optimize away the memory reads.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Fri, 15 Jan 2010 04:47:00 -0600 |
parents | aa5ed11f473b |
children | cad59a0a3b19 |
line wrap: on
line source
/* Synched up with: FSF 19.31. */ /* For building XEmacs under HPUX 11.0 with dynamic libraries. */ #define ORDINARY_LINK /* XEmacs change */ #define HPUX_USE_SHLIBS /* XEmacs: */ /* Don't tell the linker to link statically */ #ifdef NOT_C_CODE #define START_FILES #define LINKER "$(CC)" #endif /* THIS IS YMAKEFILE */ /* get call to brk() when rerunning XEmacs */ #define RUN_TIME_REMAP #include "hpux11.h" /* We must turn off -g since it forces -static. */ #ifdef __GNUC__ #undef C_DEBUG_SWITCH #define C_DEBUG_SWITCH #endif