Merge "Remove include of backtrace/Backtrace.h."
This commit is contained in:
commit
e9cef73e17
4 changed files with 11 additions and 2 deletions
|
@ -18,6 +18,7 @@
|
|||
#ifndef _DEBUGGERD_UTILITY_H
|
||||
#define _DEBUGGERD_UTILITY_H
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <signal.h>
|
||||
#include <stdbool.h>
|
||||
#include <sys/types.h>
|
||||
|
@ -25,7 +26,6 @@
|
|||
#include <string>
|
||||
|
||||
#include <android-base/macros.h>
|
||||
#include <backtrace/Backtrace.h>
|
||||
|
||||
struct log_t {
|
||||
// Tombstone file descriptor.
|
||||
|
@ -61,6 +61,14 @@ enum logtype {
|
|||
OPEN_FILES
|
||||
};
|
||||
|
||||
#if defined(__LP64__)
|
||||
#define PRIPTR "016" PRIx64
|
||||
typedef uint64_t word_t;
|
||||
#else
|
||||
#define PRIPTR "08" PRIx64
|
||||
typedef uint32_t word_t;
|
||||
#endif
|
||||
|
||||
// Log information onto the tombstone.
|
||||
void _LOG(log_t* log, logtype ltype, const char* fmt, ...) __attribute__((format(printf, 3, 4)));
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <sys/mman.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <memory>
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/ptrace.h>
|
||||
#include <sys/stat.h>
|
||||
#include <time.h>
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
#include <android-base/stringprintf.h>
|
||||
#include <android-base/strings.h>
|
||||
#include <android-base/unique_fd.h>
|
||||
#include <backtrace/Backtrace.h>
|
||||
#include <debuggerd/handler.h>
|
||||
#include <log/log.h>
|
||||
#include <unwindstack/Memory.h>
|
||||
|
|
Loading…
Reference in a new issue