summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorStefan Hajnoczi2008-06-12 17:56:20 +0200
committerMichael Brown2008-06-30 20:19:48 +0200
commit19386ec2c8c9f266425453673ba051cdb550d0c3 (patch)
tree3b159c2ad6bcb40241b82279c98742c9dca6ff65 /src/include
parent[GDB] Remote debugging over UDP (diff)
downloadipxe-19386ec2c8c9f266425453673ba051cdb550d0c3.tar.gz
ipxe-19386ec2c8c9f266425453673ba051cdb550d0c3.tar.xz
ipxe-19386ec2c8c9f266425453673ba051cdb550d0c3.zip
[GDB] Add watch and rwatch hardware watchpoints
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/gdbstub.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/gpxe/gdbstub.h b/src/include/gpxe/gdbstub.h
index adc7e3826..bf5d24d23 100644
--- a/src/include/gpxe/gdbstub.h
+++ b/src/include/gpxe/gdbstub.h
@@ -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 */