From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14136 invoked by alias); 19 Mar 2012 11:51:03 -0000 Received: (qmail 14128 invoked by uid 22791); 19 Mar 2012 11:51:03 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_05 X-Spam-Check-By: sourceware.org Received: from outdoor.onevision.de (HELO outdoor.onevision.de) (212.77.172.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 19 Mar 2012 11:50:39 +0000 Received: from sanders.onevision.de (moonrace [212.77.172.62]) by outdoor.onevision.de (8.14.3/8.13.7/ROSCH/DDB) with ESMTP id q2JBoW91017517 for ; Mon, 19 Mar 2012 12:50:37 +0100 Received: from [192.168.5.32] ([192.168.5.32]) by sanders.onevision.de (Lotus Domino Release 8.5.1FP3) with ESMTP id 2012031912503157-119278 ; Mon, 19 Mar 2012 12:50:31 +0100 Message-ID: <4F671D87.8060909@onevision.com> Date: Mon, 19 Mar 2012 11:51:00 -0000 From: Roland Schwingel User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: insight@sourceware.org Subject: [PATCH] Allow onlinehelp to work on native windows Content-Type: multipart/mixed; boundary="------------040202050009070906030106" Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2012-q1/txt/msg00024.txt.bz2 This is a multi-part message in MIME format. --------------040202050009070906030106 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-length: 402 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 * generic/gdbtk.c: (gdbtk_init): Move call to ide_create_shell_execute_command to generic windows section. Any comments? Is this ok? Roland --------------040202050009070906030106 Content-Transfer-Encoding: 7bit Content-Type: text/plain; name="mingw_onlinehelp_gdbtk.c.patch" Content-Disposition: attachment; filename="mingw_onlinehelp_gdbtk.c.patch" Content-length: 853 --- 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 --------------040202050009070906030106--