[PATCH] Allow onlinehelp to work on native windows
Roland Schwingel <[email protected]> Mon, 19 Mar 2012 12:50:31 +0100
| Newsgroups | gmane.comp.debugging.insight |
|---|---|
| Message-ID | <[email protected]> |
Hello, Here comes a simple patch allowing insight's onlinehelp also to be opened on native windows, not only on cygwin. It still continues to work on cygwin, too. Changelog: 2012-03-19 Roland Schwingel <[email protected]> * generic/gdbtk.c: (gdbtk_init): Move call to ide_create_shell_execute_command to generic windows section. Any comments? Is this ok? Roland
mingw_onlinehelp_gdbtk.c.patch
(text/plain, 853 B)
--- 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