better stack dump

This commit is contained in:
Vitor Santos Costa 2018-06-16 07:30:06 +01:00
parent d2024c1aed
commit 87f4092c19

View File

@ -1867,9 +1867,7 @@ void Yap_dump_stack(void) {
fprintf(stderr, "\% YAP ERROR: Global Collided against Local (%p--%p)\n",
HR, ASP);
} else if (HeapTop > (ADDR)LOCAL_GlobalBase) {
fprintf(stderr,
"\% YAP ERROR: Code Space Collided against Global (%p--%p)\n",
HeapTop, LOCAL_GlobalBase);
fprintf(stderr, HeapTop, LOCAL_GlobalBase);
} else {
#if !USE_SYSTEM_MALLOC
fprintf(stderr, "\%ldKB of Code Space (%p--%p)\n",