Mercurial > hg > truffle
comparison agent/src/os/linux/ps_core.c @ 6018:29ee40a082d3
7162063: libsaproc debug print should format size_t correctly on 64bit platform
Reviewed-by: rbackman, mgronlun, dholmes
author | sla |
---|---|
date | Mon, 23 Apr 2012 13:30:39 +0200 |
parents | 10c12fb36ed2 |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6017:f3a4ee95783b | 6018:29ee40a082d3 |
---|---|
438 // print map | 438 // print map |
439 if (is_debug()) { | 439 if (is_debug()) { |
440 int j = 0; | 440 int j = 0; |
441 print_debug("---- sorted virtual address map ----\n"); | 441 print_debug("---- sorted virtual address map ----\n"); |
442 for (j = 0; j < ph->core->num_maps; j++) { | 442 for (j = 0; j < ph->core->num_maps; j++) { |
443 print_debug("base = 0x%lx\tsize = %zd\n", ph->core->map_array[j]->vaddr, | 443 print_debug("base = 0x%lx\tsize = %zu\n", ph->core->map_array[j]->vaddr, |
444 ph->core->map_array[j]->memsz); | 444 ph->core->map_array[j]->memsz); |
445 } | 445 } |
446 } | 446 } |
447 | 447 |
448 return true; | 448 return true; |