Merge "Remove include of backtrace/Backtrace.h."

This commit is contained in:
Christopher Ferris 2019-04-09 15:59:10 +00:00 committed by Gerrit Code Review
commit e9cef73e17
4 changed files with 11 additions and 2 deletions

View file

@ -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)));

View file

@ -15,6 +15,7 @@
*/
#include <stdlib.h>
#include <sys/mman.h>
#include <time.h>
#include <memory>

View file

@ -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>

View file

@ -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>