56 printf (
"\"%s\": no such transport (is it compiled in?)\n",
73 "<transport> [<options>...]" );
struct arbelprm_rc_send_wqe rc
int printf(const char *fmt,...)
Write a formatted string to the console.
int optind
Current option index.
struct gdb_transport * find_gdb_transport(const char *name)
Look up GDB transport by name.
int parse_options(int argc, char **argv, struct command_descriptor *cmd, void *opts)
Parse command-line options.
static int gdbstub_exec(int argc, char **argv)
The "gdbstub" command.
#define ENOTSUP
Operation not supported.
Parse command-line options.
assert((readw(&hdr->flags) &(GTF_reading|GTF_writing))==0)
#define MAX_ARGUMENTS
No maximum number of arguments.
void gdbstub_start(struct gdb_transport *trans)
Break into the debugger using the given transport.
Command line option parsing.
const char * name
Name of the command.
int(* init)(int argc, char **argv)
Set up the transport given a list of arguments.
static struct option_descriptor gdbstub_opts[]
"gdbstub" option list
A command-line option descriptor.
static struct command_descriptor gdbstub_cmd
"gdbstub" command descriptor
#define COMMAND_DESC(_struct, _options, _min_args, _max_args, _usage)
Construct command descriptor.
static union @438 opts
"cert<xxx>" option list
static int parse_gdb_transport(const char *text, struct gdb_transport **trans)
Parse GDB transport name.
struct command gdbstub_commands [] __command
GDB stub commands.
#define NULL
NULL pointer (VOID *)
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
A transport mechanism for the GDB protocol.