[GDB] Provide functions to manually enter GDB stub.

This commit is contained in:
Stefan Hajnoczi
2008-06-16 14:42:22 +01:00
committed by Michael Brown
parent 7eb555a8ae
commit e9e1da131a
4 changed files with 79 additions and 32 deletions
+5
View File
@@ -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;
}