2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
6 #include <exec/tasks.h>
7 #include <proto/exec.h>
14 static void HexDump(const UBYTE
*data
, ULONG count
)
18 end
= (count
+ 15) & -16;
23 printf("0x%08X:", (unsigned)t
);
29 printf("%02x", ((UBYTE
*)data
)[t
]);
47 printf("Task 0x%p (%s), stack 0x%p - 0x%p\n", me
, me
->tc_Node
.ln_Name
, me
->tc_SPLower
, me
->tc_SPUpper
);
48 printf("Function at 0x%p\n", main
);
49 printf("Buffer at 0x%p (%u bytes)\n", buf
, (unsigned int)sizeof(buf
));
51 HexDump((const UBYTE
*)buf
, sizeof(buf
));