57 printf (
"\"%s\": no such transport (is it compiled in?)\n",
74 "<transport> [<options>...]" );
#define NULL
NULL pointer (VOID *)
struct arbelprm_rc_send_wqe rc
#define assert(condition)
Assert a condition at run-time.
static union @024010030001061367220137227263210031030210157031 opts
"cert<xxx>" option list
#define COMMAND(name, exec)
struct gdb_transport * find_gdb_transport(const char *name)
Look up GDB transport by name.
void gdbstub_start(struct gdb_transport *trans)
Break into the debugger using the given transport.
static int parse_gdb_transport(const char *text, struct gdb_transport **trans)
Parse GDB transport name.
static int gdbstub_exec(int argc, char **argv)
The "gdbstub" command.
static struct command_descriptor gdbstub_cmd
"gdbstub" command descriptor
static struct option_descriptor gdbstub_opts[]
"gdbstub" option list
int optind
Current option index.
Parse command-line options.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define ENOTSUP
Operation not supported.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
int parse_options(int argc, char **argv, struct command_descriptor *cmd, void *opts)
Parse command-line options.
Command line option parsing.
#define MAX_ARGUMENTS
No maximum number of arguments.
#define COMMAND_DESC(_struct, _options, _min_args, _max_args, _usage)
Construct command descriptor.
A transport mechanism for the GDB protocol.
int(* init)(int argc, char **argv)
Set up the transport given a list of arguments.
A command-line option descriptor.
int printf(const char *fmt,...)
Write a formatted string to the console.