Changeset 95e6c4f in mainline
- Timestamp:
- 2010-01-27T20:21:49Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a9bbe48d, b79d450
- Parents:
- bca408b (diff), f0bdfb7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- uspace
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskdump/taskdump.c
rbca408b r95e6c4f 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); -
uspace/srv/taskmon/taskmon.c
rbca408b r95e6c4f 72 72 printf(NAME ": Task %lld fault in thread 0x%lx.\n", taskid, thread); 73 73 74 argv[0] = fname = "/app/redir"; 74 #ifdef CONFIG_VERBOSE_DUMPS 75 argv[0] = "/app/redir"; 75 76 argv[1] = "-i"; 76 77 argv[2] = "/readme"; … … 78 79 argv[4] = dump_fname; 79 80 argv[5] = "--"; 80 81 #ifdef CONFIG_VERBOSE_DUMPS82 81 argv[6] = "/app/taskdump"; 83 82 argv[7] = "-m"; … … 86 85 argv[10] = NULL; 87 86 #else 88 argv[ 6] = "/app/taskdump";89 argv[ 7] = "-t";90 argv[ 8] = s_taskid;91 argv[ 9] = NULL;87 argv[0] = "/app/taskdump"; 88 argv[1] = "-t"; 89 argv[2] = s_taskid; 90 argv[3] = NULL; 92 91 #endif 92 fname = argv[0]; 93 93 94 printf(NAME ": Executing"); 94 95 s = argv;
Note:
See TracChangeset
for help on using the changeset viewer.