diff options
author | Josh Gao <jmgao@google.com> | 2017-08-29 13:08:32 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2017-08-29 15:18:46 -0700 |
commit | c3706668c67acdd8bcfb3df873991777d8bc1195 (patch) | |
tree | 792c3da63721078eefa77f6aef95b1555f5147f0 /debuggerd/libdebuggerd/x86/machine.cpp | |
parent | 287e8348deff5f9dfc9b622f757ffcdc55bf307e (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.cpp | 5 |
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; |