aboutsummaryrefslogtreecommitdiffstats
path: root/tools/debugger
diff options
context:
space:
mode:
authorach61@arcadians.cl.cam.ac.uk <ach61@arcadians.cl.cam.ac.uk>2005-07-28 21:32:13 +0000
committerach61@arcadians.cl.cam.ac.uk <ach61@arcadians.cl.cam.ac.uk>2005-07-28 21:32:13 +0000
commita087d9857061b98fcce2463100ad9f963fc77cc9 (patch)
tree96254e748bc2f0e06c5dc2440d4eea872134cb5f /tools/debugger
parent476167d4df2ede61a1f5dc19f876c2b3a727548d (diff)
downloadxen-a087d9857061b98fcce2463100ad9f963fc77cc9.tar.gz
xen-a087d9857061b98fcce2463100ad9f963fc77cc9.tar.bz2
xen-a087d9857061b98fcce2463100ad9f963fc77cc9.zip
PDB: add some additional files
Diffstat (limited to 'tools/debugger')
-rw-r--r--tools/debugger/pdb/linux-2.6-module/pdb_debug.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/tools/debugger/pdb/linux-2.6-module/pdb_debug.h b/tools/debugger/pdb/linux-2.6-module/pdb_debug.h
new file mode 100644
index 0000000000..dfcbc4375f
--- /dev/null
+++ b/tools/debugger/pdb/linux-2.6-module/pdb_debug.h
@@ -0,0 +1,46 @@
+
+#ifndef __PDB_DEBUG_H_
+#define __PDB_DEBUG_H_
+
+/* debugger.c */
+void pdb_initialize_bwcpoint (void);
+int pdb_suspend (struct task_struct *target);
+int pdb_resume (struct task_struct *target);
+int pdb_read_registers (struct task_struct *target, pdb_op_rd_regs_p op);
+int pdb_write_register (struct task_struct *target, pdb_op_wr_reg_p op);
+int pdb_read_memory (struct task_struct *target, pdb_op_rd_mem_req_p req,
+ pdb_op_rd_mem_resp_p resp);
+int pdb_write_memory (struct task_struct *target, pdb_op_wr_mem_p op);
+int pdb_access_memory (struct task_struct *target, unsigned long address,
+ void *buffer, int length, int write);
+int pdb_continue (struct task_struct *target);
+int pdb_step (struct task_struct *target);
+
+int pdb_insert_memory_breakpoint (struct task_struct *target,
+ memory_t address, u32 length);
+int pdb_remove_memory_breakpoint (struct task_struct *target,
+ memory_t address, u32 length);
+
+int pdb_exceptions_notify (struct notifier_block *self, unsigned long val,
+ void *data);
+
+int pdb_debug_fn (struct pt_regs *regs, long error_code,
+ unsigned int condition);
+int pdb_int3_fn (struct pt_regs *regs, long error_code);
+
+/* module.c */
+void pdb_send_response (pdb_response_t *response);
+
+#endif
+
+
+/*
+ * Local variables:
+ * mode: C
+ * c-set-style: "BSD"
+ * c-basic-offset: 4
+ * tab-width: 4
+ * indent-tabs-mode: nil
+ * End:
+ */
+