From 1a235de6628693b18e1b2e9a5ed1d4154d2fe749 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 4 Dec 2016 15:11:17 +0000 Subject: Enable clib2 debug to work --- frontends/amiga/Makefile | 2 +- frontends/amiga/memory.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontends/amiga/Makefile b/frontends/amiga/Makefile index 77d2b45f4..6b680727f 100644 --- a/frontends/amiga/Makefile +++ b/frontends/amiga/Makefile @@ -21,7 +21,7 @@ LDFLAGS += $(shell $(PKG_CONFIG) --static --libs libcurl) LDFLAGS += $(shell $(PKG_CONFIG) --libs tre) LDFLAGS += -L$(GCCSDK_INSTALL_ENV)/lib -LDFLAGS += -lpbl -liconv +LDFLAGS += -lpbl -liconv -ldebug ifeq ($(NETSURF_USE_OPENSSL),YES) LDFLAGS += $(shell $(PKG_CONFIG) --static --libs openssl) diff --git a/frontends/amiga/memory.c b/frontends/amiga/memory.c index 35ca9697f..be7483808 100755 --- a/frontends/amiga/memory.c +++ b/frontends/amiga/memory.c @@ -167,6 +167,8 @@ struct Interrupt *ami_memory_init(void) struct Interrupt *memhandler = malloc(sizeof(struct Interrupt)); if(memhandler == NULL) return NULL; // we're screwed + kprintf("init"); + memhandler->is_Node.ln_Pri = -127; // low down as will be slow memhandler->is_Node.ln_Name = "NetSurf low memory handler"; memhandler->is_Data = NULL; -- cgit v1.2.3