Skip to content

Commit

Permalink
Fix gdb dc and dcu
Browse files Browse the repository at this point in the history
  • Loading branch information
trndr authored and radare committed Nov 4, 2014
1 parent 8e78ebf commit 00949b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libr/debug/p/debug_gdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 00949b0

Please sign in to comment.