[gnome-builder/wip/chergert/bug1: 79/101] gdb: fix breakpoint creation by source file
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/bug1: 79/101] gdb: fix breakpoint creation by source file
- Date: Sat, 2 Sep 2017 01:37:01 +0000 (UTC)
commit 27b13b1f7501bab3a63d29a4ae3f4420a808d5c9
Author: Christian Hergert <chergert redhat com>
Date: Wed Aug 30 21:19:03 2017 -0700
gdb: fix breakpoint creation by source file
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 60ec085..3b99488 100644
--- a/plugins/gdb/gbp-gdb-debugger.c
+++ b/plugins/gdb/gbp-gdb-debugger.c
@@ -1110,7 +1110,7 @@ gbp_gdb_debugger_insert_breakpoint_async (IdeDebugger *debugger,
g_string_append_printf (command, " --function %s", func);
if (NULL != (file = ide_debugger_breakpoint_get_file (breakpoint)))
- g_string_append_printf (command, " --file %s", file);
+ g_string_append_printf (command, " --source %s", file);
if (0 != (line = ide_debugger_breakpoint_get_line (breakpoint)))
g_string_append_printf (command, " --line %u", line);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]