Debian Codegraph @

libdebugger/debugger.h

raw symbols SCIP
1 #include "debug.h"
2 #include "trace.h"
3
4 /* Common debugger command function prototype */
5 typedef debug_return_t (*dbg_cmd_t) (char *psz_args);
6
7
8 typedef struct {
9 const char *long_name; /* long name of command. */
10 const char short_name; /* Index into short_cmd array. */
11 } long_cmd_t;
12
13 /* A structure which contains information on the commands this program
14 can understand. */
15
16 typedef struct {
17 dbg_cmd_t func; /* Function to call to do the job. */
18 const char *doc; /* Documentation for this function. */
19 const char *use; /* short command usage. */
20 uint8_t id; /* index into global commands, and short_command arrays.
21 255 is uninitialized. */
22 bool needs_running; /* true if this command needs needs to be running, i.e.
23 not in post-mortem state. */
24 } short_cmd_t;