[gnome-builder/wip/chergert/debugger: 58/86] debugger: fix path for TTY fd



commit 47334ee4fc6091aa8b6fb2b315f2b25b39d16dba
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]