--- ddd-3.3.12/ddd/comm-manag.C	2009-02-11 18:25:07.000000000 +0100
+++ ddd-3.3.12/ddd/comm-manag.C	2010-02-26 10:11:14.000000000 +0100
@@ -756,6 +756,30 @@ void init_session(const string& restart,
 	    while (!init_commands.empty())
 	    {
 		string cmd = init_commands.before('\n');
+
+		//!!!These are errors in the gdb init files
+		//!!!should be fixed!!!!!
+		//these changes stops a ordinary startup. With a ordinary startup
+		//you only go to the main routine and also get MANY extra breakpoints
+		//on the same address,as many as 20 on one address.
+		//the routine above checks for command errors from debug
+		//here the capital letter F causes an error
+		if(cmd.contains("set exec-direction Forward"))
+			cmd = "set exec-direction forward";
+		else if(cmd.contains("set exec-wrapper"))
+			cmd = "";
+		else if(cmd.contains("set inferior-tty"))
+			cmd = "set inferior-tty /dev/pts/1";
+		else if(cmd.contains("set interactive-mode auto"))
+			cmd = "set interactive-mode auto";
+		else if(cmd.contains("set mem inaccessible-by-default"))
+			cmd = "set mem inaccessible-by-default on";
+		else if(cmd.contains("set remote system-call-allowed"))
+			cmd = "set remote system-call-allowed 0";
+		else if(cmd.contains("set sysroot"))
+			cmd = "";
+		else if(cmd.contains("set tdesc"))
+			cmd = "set tdesc ";
 		init_commands = init_commands.after('\n');
 
 		if (!recording_defines && 
