From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14870 invoked by alias); 9 Jul 2002 15:33:01 -0000 Mailing-List: contact insight-prs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-prs-owner@sources.redhat.com Received: (qmail 14852 invoked by uid 71); 9 Jul 2002 15:33:01 -0000 Resent-Date: 9 Jul 2002 15:33:01 -0000 Resent-Message-ID: <20020709153301.14850.qmail@sources.redhat.com> Resent-From: insight-gnats@sources.redhat.com (GNATS Filer) Resent-To: nobody@sources.redhat.com Resent-Cc: insight-prs@sources.redhat.com Resent-Reply-To: insight-gnats@sources.redhat.com, martin.oriordan@silaria.com Received: (qmail 10738 invoked by uid 61); 9 Jul 2002 15:23:41 -0000 Message-Id: <20020709152341.10737.qmail@sources.redhat.com> Date: Tue, 09 Jul 2002 08:33:00 -0000 From: martin.oriordan@silaria.com Reply-To: martin.oriordan@silaria.com To: insight-gnats@sources.redhat.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: insight/169: tk.ico used instead of gdbtool.ico when building under Cygwin X-SW-Source: 2002-q3/txt/msg00000.txt.bz2 List-Id: >Number: 169 >Category: insight >Synopsis: tk.ico used instead of gdbtool.ico when building under Cygwin >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Jul 09 08:33:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Martin J. O'Riordan, Silaria Ltd., Dublin, Ireland >Release: insight-5.1 and insight-5.2 >Organization: >Environment: Windows 2000 Professional Cygwin - latest as of 7 July 2002 >Description: I have ported the Gnu development tools including Insight to our processor, and I had noticed that in Insight 5.1, the icon in the top left corner of each window displayed the Cygnus icon (cygnus.ico) instead of the expected 'gdbtool.ico'. When I moved to Insight-5.2, I noticed that this changed to the Tk icon 'tk.ico'. The reason for this is that the Windows resource files 'tk*.ico' now refer to 'tk.ico' instead of 'cygnus.ico'. Either way, they should be referring to the GDBTK icon 'gdbtool.ico'. The reason this seems to be the case, is that the resource files for Tk contain a definition for many symbols other than "tk", whereas 'gdb.rc' only defines "tk". The linker overrides the "gdbres.o" definition and the intended icon is not correctly bound. >How-To-Repeat: Build GDB-Insight 5.2 for a cross development target under Windows 2000 Professional using Cygwin. Run this version of GDB and notice the icon on the title bar is not the expected one. >Fix: I think that the Tk resources need to be broken out into separate files so that the "tk" icon is on its own in a separate '.o' file. However, I do not understand the Tk library well enough to be confident about this. >Release-Note: >Audit-Trail: >Unformatted: