diff options
Diffstat (limited to 'debuggerd/utility.h')
-rw-r--r-- | debuggerd/utility.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debuggerd/utility.h b/debuggerd/utility.h index 1f006ed..0f88605 100644 --- a/debuggerd/utility.h +++ b/debuggerd/utility.h @@ -18,8 +18,8 @@ #ifndef _DEBUGGERD_UTILITY_H #define _DEBUGGERD_UTILITY_H -#include <stddef.h> #include <stdbool.h> +#include <sys/types.h> typedef struct { /* tombstone file descriptor */ @@ -63,4 +63,6 @@ void _LOG(log_t* log, int scopeFlags, const char *fmt, ...) int wait_for_signal(pid_t tid, int* total_sleep_time_usec); void wait_for_stop(pid_t tid, int* total_sleep_time_usec); +void dump_memory(log_t* log, pid_t tid, uintptr_t addr, int scope_flags); + #endif // _DEBUGGERD_UTILITY_H |