|
iPXE
|
GDB remote debugging. More...
Go to the source code of this file.
Data Structures | |
| struct | gdb_transport |
| A transport mechanism for the GDB protocol. More... | |
Macros | |
| #define | GDB_TRANSPORTS __table ( struct gdb_transport, "gdb_transports" ) |
| #define | __gdb_transport __table_entry ( GDB_TRANSPORTS, 01 ) |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| FILE_SECBOOT (FORBIDDEN) | |
| 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. | |
| void | gdbstub_handler (int signo, gdbreg_t *regs) |
| Interrupt handler. | |
GDB remote debugging.
Definition in file gdbstub.h.
| #define GDB_TRANSPORTS __table ( struct gdb_transport, "gdb_transports" ) |
Definition at line 51 of file gdbstub.h.
Referenced by find_gdb_transport().
| struct gdb_transport udp_gdb_transport __gdb_transport __table_entry ( GDB_TRANSPORTS, 01 ) |
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| FILE_SECBOOT | ( | FORBIDDEN | ) |
|
extern |
Look up GDB transport by name.
| name | Name of transport |
| GDB | transport or NULL |
Definition at line 392 of file gdbstub.c.
References for_each_table_entry, GDB_TRANSPORTS, gdb_transport::name, name, NULL, and strcmp().
Referenced by parse_gdb_transport().
|
extern |
Break into the debugger using the given transport.
| trans | GDB transport |
Definition at line 403 of file gdbstub.c.
References gdbmach_breakpoint(), gdbmach_init(), and stub.
Referenced by gdbstub_exec().
|
extern |
Interrupt handler.
@signo POSIX signal number @regs CPU register snapshot
Definition at line 372 of file gdbstub.c.
References gdbstub_parse(), gdbstub_report_signal(), len, regs, gdbstub::signo, SIZEOF_PAYLOAD, and stub.
Referenced by gdbmach_handler().