Signed-off-by: Anna Neiman <anna_nei...@mentor.com> --- 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