Files
gcc-reflection/libga68/ga68-alloc.c
Pietro Monteiro aed385dfe1 libga68: Make it possible to debug the GC
If GC_DEBUG is defined then all-upper-case macros will expand to calls
to the debug variant of collector functions.

So add the configury bit to define GC_DEBUG if the user wants and
switch all `GC_` calls to the corresponding macros.

libga68/ChangeLog:

	* configure: Regenerate.
	* configure.ac: Add --enable-algol68-gc-debug option and
	define GC_DEBUG accordingly.
	* ga68-alloc.c (_libga68_realloc): Use the C macro version of
	the GC function.
	(_libga68_realloc_unchecked): Likewise.
	(_libga68_malloc): Likewise.

Signed-off-by: Pietro Monteiro <pietro@sociotechnical.xyz>
2026-01-11 21:49:03 -05:00

2.4 KiB