#include <async.h>#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <errno.h>#include <udebug.h>#include <task.h>#include <as.h>#include <sys/types.h>#include <sys/typefmt.h>#include <libarch/istate.h>#include <macros.h>#include <assert.h>#include <bool.h>#include <symtab.h>#include <elf_core.h>#include <stacktrace.h>Go to the source code of this file.
Defines | |
| #define | LINE_BYTES 16 |
Functions | |
| static int | areas_dump (void) |
| static void | autoload_syms (void) |
| Attempt to find the right executable file and load the symbol table. | |
| static int | connect_task (task_id_t task_id) |
| static char * | fmt_sym_address (uintptr_t addr) |
| Format address in symbolic form. | |
| static char * | get_app_task_name (void) |
| int | main (int argc, char *argv[]) |
| Main entry point. | |
| static int | parse_args (int argc, char *argv[]) |
| static void | print_syntax (void) |
| static int | td_read_uintptr (void *arg, uintptr_t addr, uintptr_t *value) |
| static int | thread_dump (uintptr_t thash) |
| static int | threads_dump (void) |
Variables | |
| static char * | app_name |
| static symtab_t * | app_symtab |
| static char * | core_file_name |
| static int | phoneid |
| static task_id_t | task_id |
| static bool | write_core_file |
Definition in file taskdump.c.
1.4.7