diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2011-07-26 15:27:52 +0400 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2011-07-26 15:27:52 +0400 |
commit | e9faf6971ce03082cf82bdfaea1fa06741753379 (patch) | |
tree | 26e4c79943d779636ea3fa0b822a6a7f7aba02ac /blacklst.c | |
parent | c521d2cf164f9d7e1fa8be9c0b21d223e265fa64 (diff) | |
download | bdwgc-e9faf6971ce03082cf82bdfaea1fa06741753379.tar.gz |
gc4.14alpha1 tarball importgc4_14alpha1
Diffstat (limited to 'blacklst.c')
-rw-r--r-- | blacklst.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -63,11 +63,16 @@ ptr_t p; void (*GC_print_heap_obj)(/* char * s, ptr_t p */) = GC_default_print_heap_obj_proc; -void GC_print_source_ptr(ptr_t p) +void GC_print_source_ptr(p) +ptr_t p; { ptr_t base = GC_base(p); if (0 == base) { - GC_err_printf0("in root set"); + if (0 == p) { + GC_err_printf0("in register"); + } else { + GC_err_printf0("in root set"); + } } else { GC_err_printf0("in object at "); (*GC_print_heap_obj)(base); |