mirror of
https://github.com/ipxe/ipxe
synced 2026-04-16 03:00:10 +03:00
[GDB] Provide functions to manually enter GDB stub.
This commit is contained in:
committed by
Michael Brown
parent
7eb555a8ae
commit
e9e1da131a
@@ -19,6 +19,7 @@
|
||||
#include <assert.h>
|
||||
#include <gpxe/serial.h>
|
||||
#include <gpxe/gdbstub.h>
|
||||
#include <gpxe/gdbserial.h>
|
||||
|
||||
struct gdb_transport serial_gdb_transport __gdb_transport;
|
||||
|
||||
@@ -39,3 +40,7 @@ struct gdb_transport serial_gdb_transport __gdb_transport = {
|
||||
.recv = gdbserial_recv,
|
||||
.send = gdbserial_send,
|
||||
};
|
||||
|
||||
struct gdb_transport *gdbserial_configure ( void ) {
|
||||
return &serial_gdb_transport;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user