From 00949b0300a701152d11cdd83cb98798e8f611ed Mon Sep 17 00:00:00 2001 From: trndr Date: Tue, 4 Nov 2014 17:35:09 +0000 Subject: [PATCH] Fix gdb dc and dcu --- libr/debug/p/debug_gdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libr/debug/p/debug_gdb.c b/libr/debug/p/debug_gdb.c index de204affe8..013c1dffdf 100644 --- a/libr/debug/p/debug_gdb.c +++ b/libr/debug/p/debug_gdb.c @@ -521,7 +521,7 @@ static const char *r_debug_gdb_reg_profile(RDebug *dbg) { static int r_debug_gdb_breakpoint (void *user, int type, ut64 addr, int hw, int rwx){ int ret = 0; // TODO handle rwx and conditions - if (type == R_FALSE) { // set bp + if (type != R_FALSE) { // set bp if (hw) { ret = gdbr_set_hwbp (desc, addr, ""); } else {