Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/taskdump/taskdump.c

    r196a1439 r3698e44  
    327327        fp = istate_get_fp(&istate);
    328328
    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);
     329        printf("Thread 0x%lx crashed at PC 0x%lx. FP 0x%lx\n", thash, pc, fp);
    332330
    333331        st.op_arg = NULL;
     
    336334        while (stacktrace_fp_valid(&st, fp)) {
    337335                sym_pc = fmt_sym_address(pc);
    338                 printf("  %p: %s\n", fp, sym_pc);
     336                printf("  %p: %s()\n", fp, sym_pc);
    339337                free(sym_pc);
    340338
     
    392390
    393391        while (pos < size) {
    394                 printf("%08lx:", addr + pos);
     392                printf("%08x:", addr + pos);
    395393                for (i = 0; i < LINE_BYTES; ++i) {
    396394                        if (i % 4 == 0) putchar(' ');
     
    459457        }
    460458
    461         rc = symtab_load(file_name, &app_symtab);
     459        rc = symtab_load("/srv/xyz", &app_symtab);
    462460        if (rc == EOK) {
    463461                printf("Loaded symbol table from %s\n", file_name);
     
    518516
    519517        if (rc == EOK) {
    520                 rc = asprintf(&str, "%p (%s+%p)", addr, name, offs);
     518                rc = asprintf(&str, "(%p) %s+%p", addr, name, offs);
    521519        } else {
    522520                rc = asprintf(&str, "%p", addr);
Note: See TracChangeset for help on using the changeset viewer.