#include "util.h"Include dependency graph for DebugCmdInfoConstants.cc:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| void | init_global_dbg_constants () |
|
|
Definition at line 8 of file DebugCmdInfoConstants.cc. References dcBacktrace, dcBreak, dcBreakCondition, dcClearBreak, dcContinue, dcDeleteBreak, dcDisableBreak, dcDisplay, dcDown, dcEnableBreak, dcFinish, dcFrame, dcHelp, dcIgnoreBreak, dcInfo, dcInvalid, dcList, dcNext, dcPrint, dcQuit, dcStep, dcTrace, dcUndisplay, and dcUp. Referenced by dbg_init_debugger().
00008 {
00009
00010 {
00011 DebugCmdInfo* info;
00012 const char * const names[] = {
00013
00014 };
00015
00016 info = new DebugCmdInfo (dcInvalid, names, 0, false, "This function should not be called",
00017 false);
00018 g_DebugCmdInfos.push_back(info);
00019 }
00020
00021 {
00022 DebugCmdInfo* info;
00023 const char * const names[] = {
00024 "help"
00025 };
00026
00027 info = new DebugCmdInfo (dcHelp, names, 1, false, "Get help with debugger commands",
00028 false);
00029 g_DebugCmdInfos.push_back(info);
00030 }
00031
00032 {
00033 DebugCmdInfo* info;
00034 const char * const names[] = {
00035 "quit"
00036 };
00037
00038 info = new DebugCmdInfo (dcQuit, names, 1, false, "Exit Bro",
00039 false);
00040 g_DebugCmdInfos.push_back(info);
00041 }
00042
00043 {
00044 DebugCmdInfo* info;
00045 const char * const names[] = {
00046 "next"
00047 };
00048
00049 info = new DebugCmdInfo (dcNext, names, 1, true, "Step to the following statement, skipping function calls",
00050 true);
00051 g_DebugCmdInfos.push_back(info);
00052 }
00053
00054 {
00055 DebugCmdInfo* info;
00056 const char * const names[] = {
00057 "step",
00058 "s"
00059 };
00060
00061 info = new DebugCmdInfo (dcStep, names, 2, true, "Step to following statements, stepping in to function calls",
00062 true);
00063 g_DebugCmdInfos.push_back(info);
00064 }
00065
00066 {
00067 DebugCmdInfo* info;
00068 const char * const names[] = {
00069 "continue",
00070 "c"
00071 };
00072
00073 info = new DebugCmdInfo (dcContinue, names, 2, true, "Resume execution of the policy script",
00074 true);
00075 g_DebugCmdInfos.push_back(info);
00076 }
00077
00078 {
00079 DebugCmdInfo* info;
00080 const char * const names[] = {
00081 "finish"
00082 };
00083
00084 info = new DebugCmdInfo (dcFinish, names, 1, true, "Run until the currently-executing function completes",
00085 true);
00086 g_DebugCmdInfos.push_back(info);
00087 }
00088
00089 {
00090 DebugCmdInfo* info;
00091 const char * const names[] = {
00092 "break",
00093 "b"
00094 };
00095
00096 info = new DebugCmdInfo (dcBreak, names, 2, false, "Set a breakpoint",
00097 false);
00098 g_DebugCmdInfos.push_back(info);
00099 }
00100
00101 {
00102 DebugCmdInfo* info;
00103 const char * const names[] = {
00104 "cond"
00105 };
00106
00107 info = new DebugCmdInfo (dcBreakCondition, names, 1, false, "",
00108 false);
00109 g_DebugCmdInfos.push_back(info);
00110 }
00111
00112 {
00113 DebugCmdInfo* info;
00114 const char * const names[] = {
00115 "delete",
00116 "d"
00117 };
00118
00119 info = new DebugCmdInfo (dcDeleteBreak, names, 2, false, "Delete the specified breakpoints; delete all if no arguments",
00120 false);
00121 g_DebugCmdInfos.push_back(info);
00122 }
00123
00124 {
00125 DebugCmdInfo* info;
00126 const char * const names[] = {
00127 "clear"
00128 };
00129
00130 info = new DebugCmdInfo (dcClearBreak, names, 1, false, "",
00131 false);
00132 g_DebugCmdInfos.push_back(info);
00133 }
00134
00135 {
00136 DebugCmdInfo* info;
00137 const char * const names[] = {
00138 "disable",
00139 "dis"
00140 };
00141
00142 info = new DebugCmdInfo (dcDisableBreak, names, 2, false, "",
00143 false);
00144 g_DebugCmdInfos.push_back(info);
00145 }
00146
00147 {
00148 DebugCmdInfo* info;
00149 const char * const names[] = {
00150 "enable"
00151 };
00152
00153 info = new DebugCmdInfo (dcEnableBreak, names, 1, false, "",
00154 false);
00155 g_DebugCmdInfos.push_back(info);
00156 }
00157
00158 {
00159 DebugCmdInfo* info;
00160 const char * const names[] = {
00161 "ignore"
00162 };
00163
00164 info = new DebugCmdInfo (dcIgnoreBreak, names, 1, false, "",
00165 false);
00166 g_DebugCmdInfos.push_back(info);
00167 }
00168
00169 {
00170 DebugCmdInfo* info;
00171 const char * const names[] = {
00172 "print",
00173 "p",
00174 "set"
00175 };
00176
00177 info = new DebugCmdInfo (dcPrint, names, 3, false, "Evaluate an expression and print the result (also aliased as 'set')",
00178 true);
00179 g_DebugCmdInfos.push_back(info);
00180 }
00181
00182 {
00183 DebugCmdInfo* info;
00184 const char * const names[] = {
00185 "backtrace",
00186 "bt",
00187 "where"
00188 };
00189
00190 info = new DebugCmdInfo (dcBacktrace, names, 3, false, "Print a stack trace (with +- N argument, inner/outer N frames only)",
00191 false);
00192 g_DebugCmdInfos.push_back(info);
00193 }
00194
00195 {
00196 DebugCmdInfo* info;
00197 const char * const names[] = {
00198 "frame"
00199 };
00200
00201 info = new DebugCmdInfo (dcFrame, names, 1, false, "Select frame number N",
00202 false);
00203 g_DebugCmdInfos.push_back(info);
00204 }
00205
00206 {
00207 DebugCmdInfo* info;
00208 const char * const names[] = {
00209 "up"
00210 };
00211
00212 info = new DebugCmdInfo (dcUp, names, 1, false, "Select the stack frame one level up",
00213 false);
00214 g_DebugCmdInfos.push_back(info);
00215 }
00216
00217 {
00218 DebugCmdInfo* info;
00219 const char * const names[] = {
00220 "down"
00221 };
00222
00223 info = new DebugCmdInfo (dcDown, names, 1, false, "Select the stack frame one level down",
00224 false);
00225 g_DebugCmdInfos.push_back(info);
00226 }
00227
00228 {
00229 DebugCmdInfo* info;
00230 const char * const names[] = {
00231 "info"
00232 };
00233
00234 info = new DebugCmdInfo (dcInfo, names, 1, false, "Get information about the debugging environment",
00235 false);
00236 g_DebugCmdInfos.push_back(info);
00237 }
00238
00239 {
00240 DebugCmdInfo* info;
00241 const char * const names[] = {
00242 "list",
00243 "l"
00244 };
00245
00246 info = new DebugCmdInfo (dcList, names, 2, false, "Print source lines surrounding specified context",
00247 true);
00248 g_DebugCmdInfos.push_back(info);
00249 }
00250
00251 {
00252 DebugCmdInfo* info;
00253 const char * const names[] = {
00254 "display"
00255 };
00256
00257 info = new DebugCmdInfo (dcDisplay, names, 1, false, "",
00258 false);
00259 g_DebugCmdInfos.push_back(info);
00260 }
00261
00262 {
00263 DebugCmdInfo* info;
00264 const char * const names[] = {
00265 "undisplay"
00266 };
00267
00268 info = new DebugCmdInfo (dcUndisplay, names, 1, false, "",
00269 false);
00270 g_DebugCmdInfos.push_back(info);
00271 }
00272
00273 {
00274 DebugCmdInfo* info;
00275 const char * const names[] = {
00276 "trace"
00277 };
00278
00279 info = new DebugCmdInfo (dcTrace, names, 1, false, "Turn on or off execution tracing (with no arguments, prints current state.)",
00280 false);
00281 g_DebugCmdInfos.push_back(info);
00282 }
00283
00284 }
|
1.3.5