This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem opening file


On Monday 14 October 2002 07:45 pm, Satya wrote:
> Hi,
>   I used the tk command provided in insight to open a file :
> gdb> open file /tmp/foo w
>
> I get the following error:
> Error: class "/tmp/foo" not found in context "::itk::Archetype"
>
> Can anyone tell me how to fix this..

This is a namespace problem.  It is trying to use the open method to open a 
window of class "/tmp/foo" .You need to tell it to use the toplevel open 
command. 

"tk ::open /tmp/foo w" should work.

-- 
Martin Hunt
GDB Engineer
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]