[gnome-builder/wip/chergert/debugger: 59/85] debugger: fix path for TTY fd



commit 87d1f6e14795052fbc79c468a0f75d897cd7a9c2
Author: Christian Hergert <chergert redhat com>
Date:   Sun Mar 26 00:19:57 2017 -0700

    debugger: fix path for TTY fd

 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 fd03f3f..8cf9f45 100644
--- a/plugins/gdb/gbp-gdb-debugger.c
+++ b/plugins/gdb/gbp-gdb-debugger.c
@@ -181,7 +181,7 @@ gbp_gdb_debugger_on_runner_spawned (GbpGdbDebugger *self,
   mi2_client_listen_async (self->client, NULL, NULL, NULL);
 
   /* Ask gdb to use our mapped in FD for the TTY when spawning the child */
-  inferior_command = g_strdup_printf ("-gdb-set inferrior-tty /proc/self/fd/%d", self->mapped_fd);
+  inferior_command = g_strdup_printf ("-gdb-set inferior-tty /proc/self/fd/%d", self->mapped_fd);
   mi2_client_exec_async (self->client, inferior_command, NULL, NULL, NULL);
 
   /* Now ask gdb to start running the program */


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