diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2007-12-27 12:53:57 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2007-12-27 12:53:57 +0000 |
commit | fa56aa1711ef1a57d66cf99b599129459a808ef5 (patch) | |
tree | 186756efbfd8c4a77c7410482df9387edf6984a8 /xen/include/xen/gdbstub.h | |
parent | e2d6a0473bbffb26177c0d4bb3ddbe6268c3ca70 (diff) | |
download | xen-fa56aa1711ef1a57d66cf99b599129459a808ef5.tar.gz xen-fa56aa1711ef1a57d66cf99b599129459a808ef5.tar.bz2 xen-fa56aa1711ef1a57d66cf99b599129459a808ef5.zip |
gdbstub: Various fixes.
Highlights:
- Removed panics and smp stop calls in favour of an smp pause
mechanism.
- Added x86_64 register mapping for gdb serial protocol support.
Signed-off-by: Dan Doucette <doucette.daniel@gmail.com>
Diffstat (limited to 'xen/include/xen/gdbstub.h')
-rw-r--r-- | xen/include/xen/gdbstub.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/xen/gdbstub.h b/xen/include/xen/gdbstub.h index 09af6f3642..e87cf30470 100644 --- a/xen/include/xen/gdbstub.h +++ b/xen/include/xen/gdbstub.h @@ -69,6 +69,9 @@ void gdb_arch_write_reg_array( struct cpu_user_regs *regs, const char* buf, struct gdb_context *ctx); void gdb_arch_read_reg( unsigned long regnum, struct cpu_user_regs *regs, struct gdb_context *ctx); +void gdb_arch_write_reg( + unsigned long regnum, unsigned long val, struct cpu_user_regs *regs, + struct gdb_context *ctx); unsigned int gdb_arch_copy_from_user( void *dest, const void *src, unsigned len); unsigned int gdb_arch_copy_to_user( |