Changeset 196a1439 in mainline
- Timestamp:
- 2010-01-27T20:03:56Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f0bdfb7
- Parents:
- 3698e44
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskdump/taskdump.c
r3698e44 r196a1439 327 327 fp = istate_get_fp(&istate); 328 328 329 printf("Thread 0x%lx crashed at PC 0x%lx. FP 0x%lx\n", thash, pc, fp); 329 sym_pc = fmt_sym_address(pc); 330 printf("Thread 0x%lx crashed at %s. FP = 0x%lx\n", thash, sym_pc, fp); 331 free(sym_pc); 330 332 331 333 st.op_arg = NULL; … … 334 336 while (stacktrace_fp_valid(&st, fp)) { 335 337 sym_pc = fmt_sym_address(pc); 336 printf(" %p: %s ()\n", fp, sym_pc);338 printf(" %p: %s\n", fp, sym_pc); 337 339 free(sym_pc); 338 340 … … 390 392 391 393 while (pos < size) { 392 printf("%08 x:", addr + pos);394 printf("%08lx:", addr + pos); 393 395 for (i = 0; i < LINE_BYTES; ++i) { 394 396 if (i % 4 == 0) putchar(' '); … … 457 459 } 458 460 459 rc = symtab_load( "/srv/xyz", &app_symtab);461 rc = symtab_load(file_name, &app_symtab); 460 462 if (rc == EOK) { 461 463 printf("Loaded symbol table from %s\n", file_name); … … 516 518 517 519 if (rc == EOK) { 518 rc = asprintf(&str, " (%p) %s+%p", addr, name, offs);520 rc = asprintf(&str, "%p (%s+%p)", addr, name, offs); 519 521 } else { 520 522 rc = asprintf(&str, "%p", addr);
Note:
See TracChangeset
for help on using the changeset viewer.