[GDB] Add watch and rwatch hardware watchpoints

This commit is contained in:
Stefan Hajnoczi
2008-06-12 16:56:20 +01:00
committed by Michael Brown
parent 6e670b5f38
commit 19386ec2c8
7 changed files with 221 additions and 2 deletions

View File

@@ -9,6 +9,7 @@
#include <stdint.h>
#include <gpxe/tables.h>
#include <gdbmach.h>
/**
* A transport mechanism for the GDB protocol
@@ -61,4 +62,12 @@ extern struct gdb_transport *find_gdb_transport ( const char *name );
*/
extern void gdbstub_start ( struct gdb_transport *trans );
/**
* Interrupt handler
*
* @signo POSIX signal number
* @regs CPU register snapshot
**/
extern void gdbstub_handler ( int signo, gdbreg_t *regs );
#endif /* _GPXE_GDBSTUB_H */