Changeset fb6f1a5 in mainline for uspace/app/taskdump/taskdump.c
- Timestamp:
- 2010-01-27T21:44:52Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1ccafee
- Parents:
- b79d450
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskdump/taskdump.c
rb79d450 rfb6f1a5 245 245 printf("Threads:\n"); 246 246 for (i = 0; i < n_threads; i++) { 247 printf(" [%d] hash: 0x%lx\n", 1+i, thash_buf[i]);247 printf(" [%d] hash: %p\n", 1+i, thash_buf[i]); 248 248 249 249 thread_dump(thash_buf[i]); … … 289 289 printf("Address space areas:\n"); 290 290 for (i = 0; i < n_areas; i++) { 291 printf(" [%d] flags: %c%c%c%c base: 0x%lx size: 0x%lx\n", 1+i,291 printf(" [%d] flags: %c%c%c%c base: %p size: %p\n", 1+i, 292 292 (ainfo_buf[i].flags & AS_AREA_READ) ? 'R' : '-', 293 293 (ainfo_buf[i].flags & AS_AREA_WRITE) ? 'W' : '-', … … 328 328 329 329 sym_pc = fmt_sym_address(pc); 330 printf("Thread 0x%lx crashed at %s. FP = 0x%lx\n", thash, sym_pc, fp);330 printf("Thread %p crashed at %s. FP = %p\n", thash, sym_pc, fp); 331 331 free(sym_pc); 332 332
Note:
See TracChangeset
for help on using the changeset viewer.