LCOV - code coverage report
Current view: top level - src - DebugCmdInfoConstants.cc (source / functions) Hit Total Coverage
Test: app.info Lines: 0 65 0.0 %
Date: 2010-12-13 Functions: 0 1 0.0 %
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : 
       2                 :            : //
       3                 :            : // This file was automatically generated from ./DebugCmdInfoConstants.in
       4                 :            : // DO NOT EDIT.
       5                 :            : //
       6                 :            : 
       7                 :            : #include "util.h"
       8                 :          0 : void init_global_dbg_constants () {
       9                 :            : 
      10                 :            :    {
      11                 :            :       DebugCmdInfo* info;
      12                 :            :       const char * const names[] = {
      13                 :            :         
      14                 :            :       };
      15                 :            : 
      16                 :            :       info = new DebugCmdInfo (dcInvalid, names, 0, false, "This function should not be called",
      17                 :          0 :                                false);
      18                 :          0 :       g_DebugCmdInfos.push_back(info);
      19                 :            :    }
      20                 :            : 
      21                 :            :    {
      22                 :            :       DebugCmdInfo* info;
      23                 :            :       const char * const names[] = {
      24                 :            :         "help"
      25                 :          0 :       };
      26                 :            : 
      27                 :            :       info = new DebugCmdInfo (dcHelp, names, 1, false, "Get help with debugger commands",
      28                 :          0 :                                false);
      29                 :          0 :       g_DebugCmdInfos.push_back(info);
      30                 :            :    }
      31                 :            : 
      32                 :            :    {
      33                 :            :       DebugCmdInfo* info;
      34                 :            :       const char * const names[] = {
      35                 :            :         "quit"
      36                 :          0 :       };
      37                 :            : 
      38                 :            :       info = new DebugCmdInfo (dcQuit, names, 1, false, "Exit Bro",
      39                 :          0 :                                false);
      40                 :          0 :       g_DebugCmdInfos.push_back(info);
      41                 :            :    }
      42                 :            : 
      43                 :            :    {
      44                 :            :       DebugCmdInfo* info;
      45                 :            :       const char * const names[] = {
      46                 :            :         "next"
      47                 :          0 :       };
      48                 :            : 
      49                 :            :       info = new DebugCmdInfo (dcNext, names, 1, true, "Step to the following statement, skipping function calls",
      50                 :          0 :                                true);
      51                 :          0 :       g_DebugCmdInfos.push_back(info);
      52                 :            :    }
      53                 :            : 
      54                 :            :    {
      55                 :            :       DebugCmdInfo* info;
      56                 :            :       const char * const names[] = {
      57                 :            :         "step",
      58                 :            :         "s"
      59                 :            :       };
      60                 :            : 
      61                 :            :       info = new DebugCmdInfo (dcStep, names, 2, true, "Step to following statements, stepping in to function calls",
      62                 :          0 :                                true);
      63                 :          0 :       g_DebugCmdInfos.push_back(info);
      64                 :            :    }
      65                 :            : 
      66                 :            :    {
      67                 :            :       DebugCmdInfo* info;
      68                 :            :       const char * const names[] = {
      69                 :            :         "continue",
      70                 :            :         "c"
      71                 :            :       };
      72                 :            : 
      73                 :            :       info = new DebugCmdInfo (dcContinue, names, 2, true, "Resume execution of the policy script",
      74                 :          0 :                                true);
      75                 :          0 :       g_DebugCmdInfos.push_back(info);
      76                 :            :    }
      77                 :            : 
      78                 :            :    {
      79                 :            :       DebugCmdInfo* info;
      80                 :            :       const char * const names[] = {
      81                 :            :         "finish"
      82                 :          0 :       };
      83                 :            : 
      84                 :            :       info = new DebugCmdInfo (dcFinish, names, 1, true, "Run until the currently-executing function completes",
      85                 :          0 :                                true);
      86                 :          0 :       g_DebugCmdInfos.push_back(info);
      87                 :            :    }
      88                 :            : 
      89                 :            :    {
      90                 :            :       DebugCmdInfo* info;
      91                 :            :       const char * const names[] = {
      92                 :            :         "break",
      93                 :            :         "b"
      94                 :            :       };
      95                 :            : 
      96                 :            :       info = new DebugCmdInfo (dcBreak, names, 2, false, "Set a breakpoint",
      97                 :          0 :                                false);
      98                 :          0 :       g_DebugCmdInfos.push_back(info);
      99                 :            :    }
     100                 :            : 
     101                 :            :    {
     102                 :            :       DebugCmdInfo* info;
     103                 :            :       const char * const names[] = {
     104                 :            :         "cond"
     105                 :          0 :       };
     106                 :            : 
     107                 :            :       info = new DebugCmdInfo (dcBreakCondition, names, 1, false, "",
     108                 :          0 :                                false);
     109                 :          0 :       g_DebugCmdInfos.push_back(info);
     110                 :            :    }
     111                 :            : 
     112                 :            :    {
     113                 :            :       DebugCmdInfo* info;
     114                 :            :       const char * const names[] = {
     115                 :            :         "delete",
     116                 :            :         "d"
     117                 :            :       };
     118                 :            : 
     119                 :            :       info = new DebugCmdInfo (dcDeleteBreak, names, 2, false, "Delete the specified breakpoints; delete all if no arguments",
     120                 :          0 :                                false);
     121                 :          0 :       g_DebugCmdInfos.push_back(info);
     122                 :            :    }
     123                 :            : 
     124                 :            :    {
     125                 :            :       DebugCmdInfo* info;
     126                 :            :       const char * const names[] = {
     127                 :            :         "clear"
     128                 :          0 :       };
     129                 :            : 
     130                 :            :       info = new DebugCmdInfo (dcClearBreak, names, 1, false, "",
     131                 :          0 :                                false);
     132                 :          0 :       g_DebugCmdInfos.push_back(info);
     133                 :            :    }
     134                 :            : 
     135                 :            :    {
     136                 :            :       DebugCmdInfo* info;
     137                 :            :       const char * const names[] = {
     138                 :            :         "disable",
     139                 :            :         "dis"
     140                 :            :       };
     141                 :            : 
     142                 :            :       info = new DebugCmdInfo (dcDisableBreak, names, 2, false, "",
     143                 :          0 :                                false);
     144                 :          0 :       g_DebugCmdInfos.push_back(info);
     145                 :            :    }
     146                 :            : 
     147                 :            :    {
     148                 :            :       DebugCmdInfo* info;
     149                 :            :       const char * const names[] = {
     150                 :            :         "enable"
     151                 :          0 :       };
     152                 :            : 
     153                 :            :       info = new DebugCmdInfo (dcEnableBreak, names, 1, false, "",
     154                 :          0 :                                false);
     155                 :          0 :       g_DebugCmdInfos.push_back(info);
     156                 :            :    }
     157                 :            : 
     158                 :            :    {
     159                 :            :       DebugCmdInfo* info;
     160                 :            :       const char * const names[] = {
     161                 :            :         "ignore"
     162                 :          0 :       };
     163                 :            : 
     164                 :            :       info = new DebugCmdInfo (dcIgnoreBreak, names, 1, false, "",
     165                 :          0 :                                false);
     166                 :          0 :       g_DebugCmdInfos.push_back(info);
     167                 :            :    }
     168                 :            : 
     169                 :            :    {
     170                 :            :       DebugCmdInfo* info;
     171                 :            :       const char * const names[] = {
     172                 :            :         "print",
     173                 :            :         "p",
     174                 :            :         "set"
     175                 :            :       };
     176                 :            : 
     177                 :            :       info = new DebugCmdInfo (dcPrint, names, 3, false, "Evaluate an expression and print the result (also aliased as 'set')",
     178                 :          0 :                                true);
     179                 :          0 :       g_DebugCmdInfos.push_back(info);
     180                 :            :    }
     181                 :            : 
     182                 :            :    {
     183                 :            :       DebugCmdInfo* info;
     184                 :            :       const char * const names[] = {
     185                 :            :         "backtrace",
     186                 :            :         "bt",
     187                 :            :         "where"
     188                 :            :       };
     189                 :            : 
     190                 :            :       info = new DebugCmdInfo (dcBacktrace, names, 3, false, "Print a stack trace (with +- N argument, inner/outer N frames only)",
     191                 :          0 :                                false);
     192                 :          0 :       g_DebugCmdInfos.push_back(info);
     193                 :            :    }
     194                 :            : 
     195                 :            :    {
     196                 :            :       DebugCmdInfo* info;
     197                 :            :       const char * const names[] = {
     198                 :            :         "frame"
     199                 :          0 :       };
     200                 :            : 
     201                 :            :       info = new DebugCmdInfo (dcFrame, names, 1, false, "Select frame number N",
     202                 :          0 :                                false);
     203                 :          0 :       g_DebugCmdInfos.push_back(info);
     204                 :            :    }
     205                 :            : 
     206                 :            :    {
     207                 :            :       DebugCmdInfo* info;
     208                 :            :       const char * const names[] = {
     209                 :            :         "up"
     210                 :          0 :       };
     211                 :            : 
     212                 :            :       info = new DebugCmdInfo (dcUp, names, 1, false, "Select the stack frame one level up",
     213                 :          0 :                                false);
     214                 :          0 :       g_DebugCmdInfos.push_back(info);
     215                 :            :    }
     216                 :            : 
     217                 :            :    {
     218                 :            :       DebugCmdInfo* info;
     219                 :            :       const char * const names[] = {
     220                 :            :         "down"
     221                 :          0 :       };
     222                 :            : 
     223                 :            :       info = new DebugCmdInfo (dcDown, names, 1, false, "Select the stack frame one level down",
     224                 :          0 :                                false);
     225                 :          0 :       g_DebugCmdInfos.push_back(info);
     226                 :            :    }
     227                 :            : 
     228                 :            :    {
     229                 :            :       DebugCmdInfo* info;
     230                 :            :       const char * const names[] = {
     231                 :            :         "info"
     232                 :          0 :       };
     233                 :            : 
     234                 :            :       info = new DebugCmdInfo (dcInfo, names, 1, false, "Get information about the debugging environment",
     235                 :          0 :                                false);
     236                 :          0 :       g_DebugCmdInfos.push_back(info);
     237                 :            :    }
     238                 :            : 
     239                 :            :    {
     240                 :            :       DebugCmdInfo* info;
     241                 :            :       const char * const names[] = {
     242                 :            :         "list",
     243                 :            :         "l"
     244                 :            :       };
     245                 :            : 
     246                 :            :       info = new DebugCmdInfo (dcList, names, 2, false, "Print source lines surrounding specified context",
     247                 :          0 :                                true);
     248                 :          0 :       g_DebugCmdInfos.push_back(info);
     249                 :            :    }
     250                 :            : 
     251                 :            :    {
     252                 :            :       DebugCmdInfo* info;
     253                 :            :       const char * const names[] = {
     254                 :            :         "display"
     255                 :          0 :       };
     256                 :            : 
     257                 :            :       info = new DebugCmdInfo (dcDisplay, names, 1, false, "",
     258                 :          0 :                                false);
     259                 :          0 :       g_DebugCmdInfos.push_back(info);
     260                 :            :    }
     261                 :            : 
     262                 :            :    {
     263                 :            :       DebugCmdInfo* info;
     264                 :            :       const char * const names[] = {
     265                 :            :         "undisplay"
     266                 :          0 :       };
     267                 :            : 
     268                 :            :       info = new DebugCmdInfo (dcUndisplay, names, 1, false, "",
     269                 :          0 :                                false);
     270                 :          0 :       g_DebugCmdInfos.push_back(info);
     271                 :            :    }
     272                 :            : 
     273                 :            :    {
     274                 :            :       DebugCmdInfo* info;
     275                 :            :       const char * const names[] = {
     276                 :            :         "trace"
     277                 :          0 :       };
     278                 :            : 
     279                 :            :       info = new DebugCmdInfo (dcTrace, names, 1, false, "Turn on or off execution tracing (with no arguments, prints current state.)",
     280                 :          0 :                                false);
     281                 :          0 :       g_DebugCmdInfos.push_back(info);
     282                 :            :    }
     283                 :            :    
     284                 :          0 : }

Generated by: LCOV version 1.8