| 1 | // Licensed to the .NET Foundation under one or more agreements. | 
|---|
| 2 | // The .NET Foundation licenses this file to you under the MIT license. | 
|---|
| 3 | // See the LICENSE file in the project root for more information. | 
|---|
| 4 |  | 
|---|
| 5 | #include <lldb/API/LLDB.h> | 
|---|
| 6 | #include "mstypes.h" | 
|---|
| 7 | #define DEFINE_EXCEPTION_RECORD | 
|---|
| 8 | #include <lldbservices.h> | 
|---|
| 9 | #include <dbgtargetcontext.h> | 
|---|
| 10 | #include "services.h" | 
|---|
| 11 |  | 
|---|
| 12 | typedef HRESULT (*CommandFunc)(ILLDBServices* services, const char *args); | 
|---|
| 13 |  | 
|---|
| 14 | extern char *g_coreclrDirectory; | 
|---|
| 15 | extern ULONG g_currentThreadIndex; | 
|---|
| 16 | extern ULONG g_currentThreadSystemId; | 
|---|
| 17 |  | 
|---|
| 18 | bool | 
|---|
| 19 | sosCommandInitialize(lldb::SBDebugger debugger); | 
|---|
| 20 |  | 
|---|
| 21 | bool | 
|---|
| 22 | setsostidCommandInitialize(lldb::SBDebugger debugger); | 
|---|
| 23 |  | 
|---|
| 24 | bool | 
|---|
| 25 | setclrpathCommandInitialize(lldb::SBDebugger debugger); | 
|---|
| 26 |  | 
|---|