Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 8f31d92a8adcbb4262b0bff30c76713767a63107 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
/*******************************************************************************
 * Copyright (c) 2007, 2014 Wind River Systems, Inc. and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * and Eclipse Distribution License v1.0 which accompany this distribution.
 * The Eclipse Public License is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * and the Eclipse Distribution License is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 * You may elect to redistribute this code under either of these licenses.
 *
 * Contributors:
 *     Wind River Systems - initial API and implementation
 *******************************************************************************/

#ifndef D_config
#define D_config

#include <tcf/framework/mdep.h>

#if !defined(SERVICE_Locator)
#define SERVICE_Locator         1
#endif
#if !defined(SERVICE_FileSystem)
#define SERVICE_FileSystem      1
#endif
#if !defined(SERVICE_LineNumbers)
#define SERVICE_LineNumbers     1
#endif
#if !defined(SERVICE_Symbols)
#define SERVICE_Symbols         1
#endif
#if !defined(SERVICE_PathMap)
#define SERVICE_PathMap         1
#endif
#if !defined(SERVICE_Disassembly)
#define SERVICE_Disassembly     1
#endif

#define SERVICE_MemoryMap       0
#define SERVICE_StackTrace      0
#define SERVICE_Processes       0
#define SERVICE_Terminals       0
#define SERVICE_ContextQuery    0
#define SERVICE_RunControl      0
#define SERVICE_Breakpoints     0
#define SERVICE_Memory          0
#define SERVICE_Registers       0
#define SERVICE_SysMonitor      0
#define SERVICE_Expressions     0
#define SERVICE_DPrintf         0
#define SERVICE_Profiler        0
#if !defined(SERVICE_Streams)
#define SERVICE_Streams         0
#endif

#if !defined(ENABLE_ZeroCopy)
#define ENABLE_ZeroCopy         1
#endif

#if !defined(ENABLE_Trace)
#  define ENABLE_Trace          1
#endif

#if !defined(ENABLE_Discovery)
#  define ENABLE_Discovery      1
#endif

#if !defined(ENABLE_ContextProxy)
#  define ENABLE_ContextProxy   1
#endif

#if !defined(ENABLE_SymbolsProxy)
#  define ENABLE_SymbolsProxy   0
#endif

#if !defined(ENABLE_LineNumbersProxy)
#  define ENABLE_LineNumbersProxy   0
#endif

#if !defined(ENABLE_Symbols)
#  define ENABLE_Symbols        (ENABLE_SymbolsProxy || SERVICE_Symbols)
#endif

#if !defined(ENABLE_LineNumbers)
#  define ENABLE_LineNumbers    (ENABLE_LineNumbersProxy || SERVICE_LineNumbers)
#endif

#if !defined(ENABLE_MemoryMap)
#  define ENABLE_MemoryMap      ((ENABLE_DebugContext && ENABLE_ContextProxy) || SERVICE_MemoryMap)
#endif

#if !defined(ENABLE_DebugContext)
#  define ENABLE_DebugContext   1
#endif

#if !defined(ENABLE_ELF)
#  define ENABLE_ELF            1
#endif

#if !defined(ENABLE_PE)
#  define ENABLE_PE             0
#endif

#if !defined(ENABLE_SSL)
#  if defined(__linux__)
#    define ENABLE_SSL          1
#  else
#    define ENABLE_SSL          0
#  endif
#endif

#if !defined(ENABLE_Unix_Domain)
/* Using UNIX:/path/to/socket for local TCP communication */
#  if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)
#    define ENABLE_Unix_Domain    1
#  else
#    define ENABLE_Unix_Domain    0
#  endif
#endif

#if !defined(ENABLE_STREAM_MACROS)
#define ENABLE_STREAM_MACROS    1
#endif

#if !defined(ENABLE_AIO)
#define ENABLE_AIO              0
#endif

#if !defined(ENABLE_Splice)
#define ENABLE_Splice           0
#endif

#if !defined(ENABLE_Plugins)
#define ENABLE_Plugins          0
#endif

#if !defined(ENABLE_Cmdline)
#define ENABLE_Cmdline          0
#endif

#if !defined(ENABLE_ContextMux)
#define ENABLE_ContextMux       0
#endif

#if !defined(ENABLE_ContextExtraProperties)
#define ENABLE_ContextExtraProperties           0
#endif

#define ENABLE_RCBP_TEST        0

#define ENABLE_ContextMemoryProperties          0
#define ENABLE_ContextStateProperties           0
#define ENABLE_ExtendedMemoryErrorReports       0
#define ENABLE_MemoryAccessModes                0
#define ENABLE_ContextBreakpointCapabilities    0
#define ENABLE_ExtendedBreakpointStatus         0
#define ENABLE_ExternalStackcrawl               0
#define ENABLE_SymbolsMux                       0
#define ENABLE_LineNumbersMux                   0
#define ENABLE_ContextISA                       SERVICE_Disassembly
#define ENABLE_ProfilerSST                      0
#define ENABLE_ContextIdHashTable               0

#endif /* D_config */

Back to the top