--- gdbtk_orig/generic/gdbtk.c 2012-03-19 11:21:15.542232400 +0100 +++ gdbtk/generic/gdbtk.c 2012-03-19 11:23:12.099170600 +0100 @@ -540,13 +540,13 @@ error ("windows print code initialization failed"); if (ide_create_win_grab_command (gdbtk_interp) != TCL_OK) error ("grab support command initialization failed"); + if (ide_create_shell_execute_command (gdbtk_interp) != TCL_OK) + error ("cygwin shell execute command initialization failed"); #endif #ifdef __CYGWIN32__ /* Path conversion functions. */ if (ide_create_cygwin_path_command (gdbtk_interp) != TCL_OK) error ("cygwin path command initialization failed"); - if (ide_create_shell_execute_command (gdbtk_interp) != TCL_OK) - error ("cygwin shell execute command initialization failed"); #endif /* Only for testing -- and only when it can't be done any