Changes in uspace/app/taskdump/taskdump.c [5baf209:79ae36dd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskdump/taskdump.c
r5baf209 r79ae36dd 34 34 35 35 #include <async.h> 36 #include <elf/elf_linux.h>37 36 #include <stdio.h> 38 37 #include <stdlib.h> … … 73 72 static char *get_app_task_name(void); 74 73 static char *fmt_sym_address(uintptr_t addr); 75 76 static istate_t reg_state;77 74 78 75 int main(int argc, char *argv[]) … … 296 293 if (write_core_file) { 297 294 printf("Writing core file '%s'\n", core_file_name); 298 299 rc = elf_core_save(core_file_name, ainfo_buf, n_areas, sess, 300 ®_state); 301 295 rc = elf_core_save(core_file_name, ainfo_buf, n_areas, sess); 302 296 if (rc != EOK) { 303 297 printf("Failed writing core file.\n"); … … 327 321 pc = istate_get_pc(&istate); 328 322 fp = istate_get_fp(&istate); 329 330 /* Save register state for dumping to core file later. */331 reg_state = istate;332 323 333 324 sym_pc = fmt_sym_address(pc);
Note:
See TracChangeset
for help on using the changeset viewer.