public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: "Pierre Muller" <muller@ics.u-strasbg.fr>
To: "'Keith Seitz'" <keiths@redhat.com>
Cc: <insight@sourceware.org>
Subject: RE: cygwin runtime woes
Date: Wed, 06 May 2009 20:45:00 -0000	[thread overview]
Message-ID: <000c01c9ce8b$9e54bfa0$dafe3ee0$@u-strasbg.fr> (raw)
In-Reply-To: <4A01BB62.6070609@redhat.com>

Tried it another way:

./gdb ./insight.exe

(gdb) run --nw ./gdb.exe

Insight starts but no source window with 'main' function code appears.

insight.log contains the folliwng:

$ cat insight.log
I global pref_set_defaults {}
I global set_bg_colors {}
I global r_setcolors {. -background #cccccc}
I global r_setcolors {. -highlightbackground #cccccc}
I global r_setcolors {. -textbackground #ffffff}
I global r_setcolors {. -troughcolor #b8b8b8}
I global r_setcolors {. -activebackground #b8b8b8}
I global gdbtk_locate_main {}
I global gdbtk_clear_file {}
I global gdbtk_locate_main {}
I ManagedWin find SrcWin
I global gdbtk_locate_main {}
I SrcWin point_to_main {could not find main}
I ManagedWin startup {Got active list }
I ManagedWin find SrcWin
I ManagedWin _open {SrcWin }
I ManagedWin _create {win=srcwin args=}
I GDBWin constructor {}
I TopLevelWin constructor .srcwin0.srcwin
I SrcWin constructor {}
I SrcBar create_plugin_menu {No plugins configured, go remove the PlugIn
menu...
}
I GDBMenuBar set_class_state {Enable list is: Color normal}
I SrcBar _set_runstop normal
I SrcBar enable_ui {2 - Browsing=0}
I GDBMenuBar set_class_state {Enable list is: Control disabled  Trace
disabled
Other normal  Attach normal  Detach disabled }
I GDBToolBar set_class_state {Enable list is: Control disabled  Trace
disabled
Other normal  Attach normal  Detach disabled }
I SrcBar {} {configuring runstop normal}
I SrcBar _set_runstop normal
I GDBWin constructor {}
I GDBWin destructor {}
E SrcWin constructor {_build_win returned: invalid command name
"iwidgets::scrol
ledtext"
    while executing
"iwidgets::scrolledtext $pane1.st  -hscrollmode dynamic -vscrollmode
dynamic"
    (object "::.srcwin0.srcwin.container.pane2.childsite.con" method
"::SrcTextW
in::build_win" body line 12)
    invoked from within
"build_win"
    while constructing object
"::.srcwin0.srcwin.container.pane2.childsite.con"
in ::SrcTextWin::constructor (body line 30)
    invoked from within
"SrcTextWin $srcwin -Tracing $Tracing -parent $this"
    (object "::.srcwin0.srcwin" method "::SrcWin::_build_win" body line 53)
    invoked from within
"_build_win"}
I GDBEventHandler GDBEventHandler::dispatch {posting event "idle" to
"::.srcwin0
.srcwin.container.pane0.childsite.con"}
I SrcBar enable_ui {1 - Browsing=0}
I GDBMenuBar set_class_state {Enable list is: Trace disabled  Control normal
Ot
her normal  Attach disabled  Detach normal }
I GDBToolBar set_class_state {Enable list is: Trace disabled  Control normal
Ot
her normal  Attach disabled  Detach normal }
I GDBEventHandler GDBEventHandler::dispatch {posting event "idle" to
"::.srcwin0
.srcwin"}
I SrcBar {} {configuring runstop normal}
I SrcBar _set_runstop normal
E GDBEventHandler GDBEventHandler::dispatch {On idle event,
::.srcwin0.srcwin er
rored:
can't read "twin": no such variable
    while executing
"$twin enable $on"
    (object "::.srcwin0.srcwin" method "::SrcWin::enable_ui" body line 17)
    invoked from within
"enable_ui 1"
    (object "::.srcwin0.srcwin" method "::SrcWin::idle" body line 3)
    invoked from within
"$w $handler $event"}
I SrcBar enable_ui {2 - Browsing=0}
I GDBMenuBar set_class_state {Enable list is: Control disabled  Trace
disabled
Other normal  Attach normal  Detach disabled }
I GDBToolBar set_class_state {Enable list is: Control disabled  Trace
disabled
Other normal  Attach normal  Detach disabled }
E global gdbtk_idle {no_inferior_hook error: {hook=::.srcwin0.srcwin
no_inferior
 args="" can't read "_status": no such variable
}}
I Session notice_file_change {noticed file change event for ./gdb.exe}
I GDBEventHandler GDBEventHandler::dispatch {posting event "set_variable" to
"::
.srcwin0.srcwin.container.pane0.childsite.con"}
I SrcBar set_variable {Got remotebaud = 38400}
I GDBEventHandler GDBEventHandler::dispatch {posting event "set_variable" to
"::
.srcwin0.srcwin"}
I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to
"::.srcwi
n0.srcwin.container.pane0.childsite.con"}
I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to
"::.srcwi
n0.srcwin"}
E GDBEventHandler GDBEventHandler::dispatch {On update event,
::.srcwin0.srcwin
errored:
can't read "twin": no such variable
    while executing
"if {$twin == ""} {
    return ""
  } else {
    return [$twin get_file]
  }"
    (object "::.srcwin0.srcwin" method "::SrcWin::get_file" body line 2)
    invoked from within
"$pc_window get_file"
    (procedure "::SrcWin::_choose_window" body line 9)
    invoked from within
"_choose_window $file"
    (procedure "::SrcWin::choose_and_update" body line 15)
    invoked from within
"choose_and_update"
    (object "::.srcwin0.srcwin" method "::SrcWin::update" body line 10)
    invoked from within
"$w $handler $event"}
I ManagedWin find SrcWin
I SrcWin destructor {}
I TopLevelWin destructor {}


All seems to start with the failure to handle
iwidgets::scrolledtext command,
any ideas what this is all about?

 I tried reinstalling tcl/tk for cygiwn, no effect.

Pierre


  reply	other threads:[~2009-05-06 20:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-06 22:32 [RFA] ARI fixes for gdbtk directories Pierre Muller
2009-04-06 22:51 ` Keith Seitz
2009-04-06 23:14   ` Pierre Muller
2009-04-06 23:18     ` cygwin runtime woes (was Re: [RFA] ARI fixes for gdbtk directories) Keith Seitz
2009-04-06 23:32       ` Pierre Muller
2009-04-06 23:52         ` Keith Seitz
2009-04-07  6:54           ` Pierre Muller
2009-05-06 16:11             ` cygwin runtime woes Keith Seitz
2009-05-06 16:24               ` Pierre Muller
2009-05-06 16:31                 ` Keith Seitz
2009-05-06 20:45                   ` Pierre Muller [this message]
2009-05-07  2:06                     ` Keith Seitz
2009-05-06 16:41               ` Pierre Muller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000c01c9ce8b$9e54bfa0$dafe3ee0$@u-strasbg.fr' \
    --to=muller@ics.u-strasbg.fr \
    --cc=insight@sourceware.org \
    --cc=keiths@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).