summaryrefslogtreecommitdiffstats
path: root/system_cmds/gcore.tproj/threads.h
diff options
context:
space:
mode:
Diffstat (limited to 'system_cmds/gcore.tproj/threads.h')
-rw-r--r--system_cmds/gcore.tproj/threads.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/system_cmds/gcore.tproj/threads.h b/system_cmds/gcore.tproj/threads.h
new file mode 100644
index 0000000..c5605ce
--- /dev/null
+++ b/system_cmds/gcore.tproj/threads.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2015 Apple Inc. All rights reserved.
+ */
+
+#include "corefile.h"
+#include <mach/task.h>
+
+#ifndef _THREADS_H
+#define _THREADS_H
+
+extern size_t sizeof_LC_THREAD(void);
+extern void dump_thread_state(native_mach_header_t *, struct thread_command *, mach_port_t);
+
+#endif /* _THREADS_H */