2 Copyright © 2011, The AROS Development Team. All rights reserved.
5 Desc: Initialize the debug interface
9 #include <aros/symbolsets.h>
11 #include <proto/exec.h>
13 #ifdef AROS_MODULES_DEBUG
14 /* 'malloc' and 'free' are needed for GDB's strcmp(), which is
15 * used by the 'loadseg' method of the .gdbinit of AROS
17 void *malloc(ULONG size
)
21 size
= (size
+ sizeof(size_t) - 1) & ~(sizeof(size_t) - 1);
23 mem
= AllocMem(size
, -1);