[gnome-builder/wip/chergert/bug1: 60/69] gdb: fix enabled check



commit c93324325a505877e0809cc93a740e629ade130e
Author: Christian Hergert <chergert redhat com>
Date:   Thu Aug 31 13:42:14 2017 -0700

    gdb: fix enabled check

 plugins/gdb/gbp-gdb-debugger.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/gdb/gbp-gdb-debugger.c b/plugins/gdb/gbp-gdb-debugger.c
index e0e37c8..71a5d8c 100644
--- a/plugins/gdb/gbp-gdb-debugger.c
+++ b/plugins/gdb/gbp-gdb-debugger.c
@@ -1158,7 +1158,7 @@ gbp_gdb_debugger_insert_breakpoint_async (IdeDebugger           *debugger,
 
   command = g_string_new ("-break-insert");
 
-  if (ide_debugger_breakpoint_get_enabled (breakpoint))
+  if (!ide_debugger_breakpoint_get_enabled (breakpoint))
     g_string_append (command, " -d");
 
 


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