qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] PATCH3- evaluate breakpoint condition on target - d


From: Anna Neiman
Subject: [Qemu-devel] [PATCH] PATCH3- evaluate breakpoint condition on target - dump bytecode of breakpoint condition in human readable format - for debug purposes
Date: Tue, 26 Feb 2013 15:52:23 +0200

Signed-off-by: Anna Neiman <address@hidden>
---
 gdbstub.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gdbstub.c b/gdbstub.c
index 814f596..e2dac86 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -42,6 +42,8 @@
 #include "sysemu/kvm.h"
 #include "qemu/bitops.h"
 
+#include "translate-gdbagent.h"
+
 #ifndef TARGET_CPU_MEMORY_RW_DEBUG
 static inline int target_memory_rw_debug(CPUArchState *env, target_ulong addr,
                                          uint8_t *buf, int len, int is_write)
@@ -2347,6 +2349,9 @@ static int gdb_handle_packet(GDBState *s, const char 
*line_buf)
                             }
                         }
                     }
+#ifdef DEBUG_GDB
+                    bp_agent_dump_bytecode(bp_cond_len, bp_cond_expr);
+#endif
                 }
         }
         if (ch == 'Z') {
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]