public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Re: _status: no such variable
       [not found] ` <3A5AF4D3.67766B18@redhat.com>
@ 2001-01-09 17:29   ` Phil Edwards
  2001-01-10 11:40     ` Tom Tromey
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Edwards @ 2001-01-09 17:29 UTC (permalink / raw)
  To: Fernando Nasser; +Cc: gdb, insight

[Insight list added to cc line.]


On Tue, Jan 09, 2001 at 06:24:03AM -0500, Fernando Nasser wrote:
> 
> Furthermore, this stack trace describes an impossible situation. 
> "_status" is
> where the Source Window stores the name of the label widget that is used
> for status and help information (at the bottom).  Regardless of the success
> or not of the creation of this widget the variable should exist. "no such
> variable" is just absurd.

Well, I don't know what to tell you...

Should I send a screenshot of the window containing the message?

Would you like to come over and look at it?  Let's see... you're in Toronto,
I'm in Ohio... if you can make it here by lunchtime I can leave it on the
screen until then.  :-)


> There are two possibilities remaining:
> 
> 1) Your cvs checkout went terribly wrong.  A fresh checkout should fix
> it.

Nope, CVS was fine.


> 2) You are loading some program (you called GDB with an executable name
> in
>    the command line).  Something went wrong with the symbol reading and
> GDB
>    did a longjump in some uncaught situation (I thought we got rid of
> those
>    though).  Please try opening GDB without specifying a file.

Okay.  *tries*  Well, the windows appear.  But the Source Window is
completely blank; no menubar.

Fortunately, I have the Console Window already popped by default.  I tried
loading the executable then, but:

    (gdb) load a.out
    Error: You can't do that when your target is `None'

    (gdb) 

Any thoughts?


Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.

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

* Re: _status: no such variable
  2001-01-09 17:29   ` _status: no such variable Phil Edwards
@ 2001-01-10 11:40     ` Tom Tromey
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2001-01-10 11:40 UTC (permalink / raw)
  To: Phil Edwards; +Cc: Fernando Nasser, gdb, insight

Phil> Okay.  *tries* Well, the windows appear.  But the Source Window
Phil> is completely blank; no menubar.

I think the error you are seeing is a side effect of this.
For instance if SrcWin::_build_win fails in some way that leaves
_status unset, then you could see this bug.

This means you have to work backwards to find the earlier error.
One way might be to set GDBTK_DEBUGFILE (to a file name or `stderr')
and then run insight.  Then look in the log to see if there is another
error message.

Tom

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

end of thread, other threads:[~2001-01-10 11:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20010108234026.A450@disaster.jaj.com>
     [not found] ` <3A5AF4D3.67766B18@redhat.com>
2001-01-09 17:29   ` _status: no such variable Phil Edwards
2001-01-10 11:40     ` Tom Tromey

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).