summaryrefslogtreecommitdiff
path: root/debuggerd/libdebuggerd/x86/machine.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2017-08-29 13:08:32 -0700
committerJosh Gao <jmgao@google.com>2017-08-29 15:18:46 -0700
commitc3706668c67acdd8bcfb3df873991777d8bc1195 (patch)
tree792c3da63721078eefa77f6aef95b1555f5147f0 /debuggerd/libdebuggerd/x86/machine.cpp
parent287e8348deff5f9dfc9b622f757ffcdc55bf307e (diff)
libdebuggerd: cleanup.
Move libdebuggerd headers into their own directory for namespacing, move some includes to the top of their implementing files, delete some dead code. Test: mma, treehugger Change-Id: Ie4c44e32e2ab3bc678092899d257fd4ed634aa34
Diffstat (limited to 'debuggerd/libdebuggerd/x86/machine.cpp')
-rw-r--r--debuggerd/libdebuggerd/x86/machine.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/debuggerd/libdebuggerd/x86/machine.cpp b/debuggerd/libdebuggerd/x86/machine.cpp
index af10817a4..09a64cdb6 100644
--- a/debuggerd/libdebuggerd/x86/machine.cpp
+++ b/debuggerd/libdebuggerd/x86/machine.cpp
@@ -16,6 +16,8 @@
#define LOG_TAG "DEBUG"
+#include "libdebuggerd/machine.h"
+
#include <errno.h>
#include <stdint.h>
#include <string.h>
@@ -24,8 +26,7 @@
#include <backtrace/Backtrace.h>
#include <log/log.h>
-#include "machine.h"
-#include "utility.h"
+#include "libdebuggerd/utility.h"
void dump_memory_and_code(log_t* log, Backtrace* backtrace) {
struct pt_regs r;