iPXE
|
GDB stub command. More...
#include <stdio.h>
#include <errno.h>
#include <assert.h>
#include <getopt.h>
#include <ipxe/command.h>
#include <ipxe/parseopt.h>
#include <ipxe/gdbstub.h>
Go to the source code of this file.
Data Structures | |
struct | gdbstub_options |
"gdbstub" options More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
static int | parse_gdb_transport (const char *text, struct gdb_transport **trans) |
Parse GDB transport name. More... | |
static int | gdbstub_exec (int argc, char **argv) |
The "gdbstub" command. More... | |
Variables | |
static struct option_descriptor | gdbstub_opts [] = {} |
"gdbstub" option list More... | |
static struct command_descriptor | gdbstub_cmd |
"gdbstub" command descriptor More... | |
struct command gdbstub_commands [] | __command |
GDB stub commands. More... | |
GDB stub command.
Definition in file gdbstub_cmd.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
Parse GDB transport name.
text | Text |
trans | GDB transport |
rc | Return status code |
Definition at line 47 of file gdbstub_cmd.c.
References assert(), ENOTSUP, find_gdb_transport(), NULL, and printf().
Referenced by gdbstub_exec().
|
static |
The "gdbstub" command.
argc | Argument count |
argv | Argument list |
rc | Return status code |
Definition at line 82 of file gdbstub_cmd.c.
References gdbstub_cmd, gdbstub_start(), gdb_transport::init, optind, opts, parse_gdb_transport(), parse_options(), and rc.
|
static |
"gdbstub" option list
Definition at line 68 of file gdbstub_cmd.c.
|
static |
"gdbstub" command descriptor
Definition at line 71 of file gdbstub_cmd.c.
Referenced by gdbstub_exec().
struct command gdbstub_commands [] __command |
GDB stub commands.
Definition at line 110 of file gdbstub_cmd.c.