38f7ec2
--- BUILD/cgdb-0.6.8/lib/util/fork_util.c.disable_shell_style	2014-07-23 04:43:00.000000000 +0300
38f7ec2
+++ BUILD/cgdb-0.6.8/lib/util/fork_util.c	2019-07-04 16:42:04.749828019 +0300
38f7ec2
@@ -187,10 +187,12 @@
38f7ec2
     const char *const NW = "--nw";
38f7ec2
     const char *const X = "-x";
38f7ec2
     const char *const ANNOTATE_TWO = "--annotate=2";
38f7ec2
+	const char *const DISABLE_STYLE_P = "-init-eval-command";
38f7ec2
+	const char *const DISABLE_STYLE_V = "set style enabled off";
38f7ec2
     const char *const GDBMI = "-i=mi2";
38f7ec2
     char *F = filename;
38f7ec2
     char **local_argv;
38f7ec2
-    int i, j = 0, extra = 6;
38f7ec2
+    int i, j = 0, extra = 8;
38f7ec2
     int malloc_size = argc + extra;
38f7ec2
     char slavename[64];
38f7ec2
     int masterfd;
38f7ec2
@@ -203,6 +205,10 @@
38f7ec2
     else
38f7ec2
         local_argv[j++] = cgdb_strdup(GDB);
38f7ec2
 
38f7ec2
+    /* Gilboa: Disable extended shell style. */
38f7ec2
+    local_argv[j++] = cgdb_strdup(DISABLE_STYLE_P);
38f7ec2
+    local_argv[j++] = cgdb_strdup(DISABLE_STYLE_V);
38f7ec2
+
38f7ec2
     /* NOTE: These options have to come first, since if the user
38f7ec2
      * typed '--args' to GDB, everything at the end of the 
38f7ec2
      * users options become parameters to the inferior.