This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Problem opening file
- From: "Martin M. Hunt" <hunt at redhat dot com>
- To: Satya <satya at ittc dot ku dot edu>, insight at sources dot redhat dot com
- Date: Mon, 14 Oct 2002 20:08:08 -0700
- Subject: Re: Problem opening file
- Organization: Red Hat Inc
- References: <Pine.LNX.4.44.0210142142310.19001-100000@kermit.ittc.ku.edu>
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.