summaryrefslogtreecommitdiffstats
path: root/debuggerd/utility.h
diff options
context:
space:
mode:
authorPavel Chupin <pavel.v.chupin@intel.com>2013-11-21 23:17:20 +0400
committerElliott Hughes <enh@google.com>2014-01-30 17:15:24 -0800
commitc6c194ced095df5e777b8fa24527ebd29c8fef54 (patch)
treee8c2872d11d30743d38f915b90ce394d2773ccf2 /debuggerd/utility.h
parente97dad0d95ae1305686bf4294029da947fc2dcf2 (diff)
downloadcore-c6c194ced095df5e777b8fa24527ebd29c8fef54.tar.gz
core-c6c194ced095df5e777b8fa24527ebd29c8fef54.tar.bz2
core-c6c194ced095df5e777b8fa24527ebd29c8fef54.zip
LP64: Enable debuggerd/libbacktrace/libunwind.
Change-Id: I2e432839f86c33c2adbaac8cc12ca8961956044b Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
Diffstat (limited to 'debuggerd/utility.h')
-rw-r--r--debuggerd/utility.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/debuggerd/utility.h b/debuggerd/utility.h
index 232b7bcad..0f886053f 100644
--- a/debuggerd/utility.h
+++ b/debuggerd/utility.h
@@ -18,9 +18,8 @@
#ifndef _DEBUGGERD_UTILITY_H
#define _DEBUGGERD_UTILITY_H
-#include <inttypes.h>
#include <stdbool.h>
-#include <stddef.h>
+#include <sys/types.h>
typedef struct {
/* tombstone file descriptor */
@@ -61,14 +60,6 @@ void _LOG(log_t* log, int scopeFlags, const char *fmt, ...)
#define XLOG2(fmt...) do {} while(0)
#endif
-#if __LP64__
-#define PRIPTR "016" PRIxPTR
-typedef uint64_t word_t;
-#else
-#define PRIPTR "08" PRIxPTR
-typedef uint32_t word_t;
-#endif
-
int wait_for_signal(pid_t tid, int* total_sleep_time_usec);
void wait_for_stop(pid_t tid, int* total_sleep_time_usec);