summaryrefslogtreecommitdiffstats
path: root/debuggerd/libdebuggerd/include/machine.h
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/include/machine.h
parent287e8348deff5f9dfc9b622f757ffcdc55bf307e (diff)
downloadsystem_core-c3706668c67acdd8bcfb3df873991777d8bc1195.tar.gz
system_core-c3706668c67acdd8bcfb3df873991777d8bc1195.tar.bz2
system_core-c3706668c67acdd8bcfb3df873991777d8bc1195.zip
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/include/machine.h')
-rw-r--r--debuggerd/libdebuggerd/include/machine.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/debuggerd/libdebuggerd/include/machine.h b/debuggerd/libdebuggerd/include/machine.h
deleted file mode 100644
index 5e5668253..000000000
--- a/debuggerd/libdebuggerd/include/machine.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright (C) 2011 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef _DEBUGGERD_MACHINE_H
-#define _DEBUGGERD_MACHINE_H
-
-#include <sys/types.h>
-
-#include <backtrace/Backtrace.h>
-
-#include "utility.h"
-
-void dump_memory_and_code(log_t* log, Backtrace* backtrace);
-void dump_registers(log_t* log, pid_t tid);
-void dump_registers(log_t* log, const ucontext_t* uc);
-
-#endif // _DEBUGGERD_MACHINE_H