public inbox for insight-prs@sourceware.org
help / color / mirror / Atom feed
* Re: insight/169: tk.ico used instead of gdbtool.ico when building under Cygwin
@ 2002-11-19 20:22 kseitz
  0 siblings, 0 replies; 2+ messages in thread
From: kseitz @ 2002-11-19 20:22 UTC (permalink / raw)
  To: insight-prs, kseitz, martin.oriordan, nobody

Synopsis: tk.ico used instead of gdbtool.ico when building under Cygwin

Responsible-Changed-From-To: unassigned->kseitz
Responsible-Changed-By: kseitz
Responsible-Changed-When: Tue Nov 19 20:22:08 2002
Responsible-Changed-Why:
    mine
State-Changed-From-To: open->closed
State-Changed-By: kseitz
State-Changed-When: Tue Nov 19 20:22:08 2002
State-Changed-Why:
    Sadly, this is a deficiency in Tk versions < 8.4.0. The Tk 8.0 that you have (prior to 5.2), was a special Cygnus/Red Hat version. We moved to a "standard" Tk distribution, and now there are all kinds of differences between what we had and what we have. Fortunately, Tk 8.4.0 has support to change the icon. I've started an import of Tcl/Tk8.4.0, but my time on it has been limited. [Wanna help? O:-)]

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=insight&pr=169


^ permalink raw reply	[flat|nested] 2+ messages in thread

* insight/169: tk.ico used instead of gdbtool.ico when building under Cygwin
@ 2002-07-09  8:33 martin.oriordan
  0 siblings, 0 replies; 2+ messages in thread
From: martin.oriordan @ 2002-07-09  8:33 UTC (permalink / raw)
  To: insight-gnats


>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:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-20  4:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-19 20:22 insight/169: tk.ico used instead of gdbtool.ico when building under Cygwin kseitz
  -- strict thread matches above, loose matches on Subject: below --
2002-07-09  8:33 martin.oriordan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).