|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Fix int3 handling in cdb. They're harmless.
ChangeSet 1.1415, 2005/05/02 17:01:00+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx
Fix int3 handling in cdb. They're harmless.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
debugger.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletion(-)
diff -Nru a/xen/include/asm-x86/debugger.h b/xen/include/asm-x86/debugger.h
--- a/xen/include/asm-x86/debugger.h 2005-05-02 13:03:04 -04:00
+++ b/xen/include/asm-x86/debugger.h 2005-05-02 13:03:04 -04:00
@@ -42,7 +42,14 @@
extern int __trap_to_cdb(struct cpu_user_regs *r);
#define debugger_trap_entry(_v, _r) (0)
-#define debugger_trap_fatal(_v, _r) __trap_to_cdb(_r)
+
+static inline int debugger_trap_fatal(
+ unsigned int vector, struct cpu_user_regs *regs)
+{
+ (void)__trap_to_cdb(regs);
+ return (vector == TRAP_int3); /* int3 is harmless */
+}
+
/* Int3 is a trivial way to gather cpu_user_regs context. */
#define debugger_trap_immediate() __asm__ __volatile__ ( "int3" );
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Fix int3 handling in cdb. They're harmless.,
BitKeeper Bot <=
|
|
|
|
|