changeset 32822:2b3e80a729bd

*** empty log message ***
author Gerd Moellmann <gerd@gnu.org>
date Tue, 24 Oct 2000 12:41:23 +0000
parents 08e5ab6d998f
children 2a7f61d7ae12
files src/ChangeLog
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Oct 24 12:41:02 2000 +0000
+++ b/src/ChangeLog	Tue Oct 24 12:41:23 2000 +0000
@@ -1,5 +1,14 @@
 2000-10-24  Gerd Moellmann  <gerd@gnu.org>
 
+	* gmalloc.c (state_protected_p, last_state_size, last_heapinfo)
+	[GC_MALLOC_CHECK && GC_PROTECT_MALLOC_STATE]: New variables.
+	(protect_malloc_state) [GC_MALLOC_CHECK &&
+	GC_PROTECT_MALLOC_STATE]: New function.
+	(PROTECT_MALLOC_STATE): New macro.
+	(__malloc_initialize, morecore, _malloc_internal)
+	(_free_internal) _realloc_internal): Use it to make _heapinfo
+	read-only outside of gmalloc.
+
 	* keymap.c: Update copyright.
 
 	* .gdbinit (xbacktrace): Handle case that $bt->function isn't