Re: Next Release Status

Bahadir Balban <[email protected]>
Newsgroups gmane.comp.debugging.insight
Message-ID <1324383471.18648.13.camel@bbalban-desktop>
On Mon, 2011-12-19 at 09:41 -0800, Keith Seitz wrote:
> I just built CVS HEAD to do some testing and build-fixing. I am not 
> seeing this.
> 
> If you open a console window and enter, "tk gdb_loc" after you step your 
> inferior, what does it say? 

It updates normally.

> You can also open a debug window to see any warning/errors by entering 
> "tk ManagedWin::open DebugWin". 

This also seems perfectly normal as below. The execution is happening,
it is the source window that is not updating.

> (GDBEventHandler::GDBEventHandler::dispatch) posting event "busy" to "::.srcwin0.srcwin.container.pane2.childsite.con"
> (GDBEventHandler::GDBEventHandler::dispatch) posting event "busy" to "::.console0.console"
> (GDBEventHandler::GDBEventHandler::dispatch) posting event "busy" to "::.srcwin0.srcwin.container.pane0.childsite.con"
> (SrcBar::enable_ui) 0 - Browsing=0
> (GDBMenuBar::set_class_state) Enable list is: Control disabled  Other disabled  Trace disabled  Attach disabled  Detach disabled
> (GDBToolBar::set_class_state) Enable list is: Control disabled  Other disabled  Trace disabled  Attach disabled  Detach disabled
> (GDBEventHandler::GDBEventHandler::dispatch) posting event "busy" to "::.srcwin0.srcwin"
> (SrcBar) configuring runstop running
> (SrcBar::_set_runstop) running
> (GDBEventHandler::GDBEventHandler::dispatch) posting event "update" to "::.srcwin0.srcwin.container.pane2.childsite.con"
> (GDBEventHandler::GDBEventHandler::dispatch) posting event "update" to "::.console0.console"
> (GDBEventHandler::GDBEventHandler::dispatch) posting event "update" to "::.srcwin0.srcwin.container.pane0.childsite.con"
> (GDBEventHandler::GDBEventHandler::dispatch) posting event "update" to "::.srcwin0.srcwin"
> (SrcWin::choose_and_update) chose window ::.srcwin0.srcwin
> (GDBEventHandler::GDBEventHandler::dispatch) posting event "idle" to "::.srcwin0.srcwin.container.pane2.childsite.con"
> (GDBEventHandler::GDBEventHandler::dispatch) posting event "idle" to "::.console0.console"
> (GDBEventHandler::GDBEventHandler::dispatch) posting event "idle" to "::.srcwin0.srcwin.container.pane0.childsite.con"
> (SrcBar::enable_ui) 1 - Browsing=0
> (GDBMenuBar::set_class_state) Enable list is: Trace disabled  Control normal  Other normal  Attach disabled  Detach normal 
> (GDBToolBar::set_class_state) Enable list is: Trace disabled  Control normal  Other normal  Attach disabled  Detach normal 
> (GDBEventHandler::GDBEventHandler::dispatch) posting event "idle" to "::.srcwin0.srcwin"
> (SrcBar) configuring runstop normal
> (SrcBar::_set_runstop) normal


> As you step through your inferior, it 
> will update with any messages. [Alternative, set GDBTK_DEBUG=1 in your 
> environment before running insight. That will output the debug messages 
> to the file "insight.log".]
> 

Here is what I got:


> 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 {}
> E global {} {can't read "total_bytes": no such variable
>     while executing
> "debug "sec=$section num=$num tot=$total_bytes ok=$::download_cancel_ok""
>     (procedure "::Download::download_hash" body line 3)
>     invoked from within
> "Download::download_hash .text 2032"}
> E global {} {can't read "total_bytes": no such variable
>     while executing
> "debug "sec=$section num=$num tot=$total_bytes ok=$::download_cancel_ok""
>     (procedure "::Download::download_hash" body line 3)
>     invoked from within
> "Download::download_hash .text 4064"}
> E global {} {can't read "total_bytes": no such variable
>     while executing
> "debug "sec=$section num=$num tot=$total_bytes ok=$::download_cancel_ok""
>     (procedure "::Download::download_hash" body line 3)
>     invoked from within
> "Download::download_hash .text 6096"}
> E global {} {can't read "total_bytes": no such variable
>     while executing
> "debug "sec=$section num=$num tot=$total_bytes ok=$::download_cancel_ok""
>     (procedure "::Download::download_hash" body line 3)
>     invoked from within
> "Download::download_hash .text 8128"}
> E global {} {can't read "total_bytes": no such variable
>     while executing
> "debug "sec=$section num=$num tot=$total_bytes ok=$::download_cancel_ok""
>     (procedure "::Download::download_hash" body line 3)
>     invoked from within
> "Download::download_hash .text 10160"}
> E global {} {can't read "total_bytes": no such variable
>     while executing
> "debug "sec=$section num=$num tot=$total_bytes ok=$::download_cancel_ok""
>     (procedure "::Download::download_hash" body line 3)
>     invoked from within
> "Download::download_hash .text 12192"}
> E global {} {can't read "total_bytes": no such variable
>     while executing

[ Same message continues thousands of times, seems to be why loading the
image takes several seconds longer than expected. ]


Then during stepping, I get:


> I ManagedWin startup {Got active list {ManagedWin::open Console} {ManagedWin::open SrcWin}}
> I ManagedWin _open {Console }
> I ManagedWin _create {win=console args=}
> I EmbeddedWin constructor {}
> I Console constructor {}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "idle" to "::.console0.console"}
> 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 SrcWin _update {loc=/home/bbalban/c0meta/codezero/src/arch/arm/v7/init.c start_virtual_memory /home/bbalban/c0meta/codezero/src/arch/arm/v7/init.c 517 0xf000ae4c 0xf000ae4c {}}
> I SrcWin location {running=1 tag= linespec=/home/bbalban/c0meta/codezero/src/arch/arm/v7/init.c start_virtual_memory /home/bbalban/c0meta/codezero/src/arch/arm/v7/init.c 517 0xf000ae4c 0xf000ae4c {}}
> I SrcTextWin _mtime_changed {no mtime. resetting to zero}
> I SrcTextWin LoadFile {/home/bbalban/c0meta/codezero/src/arch/arm/v7/init.c  SOURCE}
> I SrcTextWin LoadFromCache {LoadFromCache t /home/bbalban/c0meta/codezero/src/arch/arm/v7/init.c S}
> I SrcTextWin LoadFromCache name=/home/bbalban/c0meta/codezero/src/arch/arm/v7/init.c
> I SrcTextWin LoadFromCache pane=pane1
> I SrcTextWin LoadFile {READING /home/bbalban/c0meta/codezero/src/arch/arm/v7/init.c}
> I ManagedWin find SrcWin
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.srcwin0.srcwin.container.pane2.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.console0.console"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.srcwin0.srcwin.container.pane0.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.srcwin0.srcwin"}
> I SrcWin choose_and_update {chose window ::.srcwin0.srcwin}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.srcwin0.srcwin.container.pane2.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.console0.console"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.srcwin0.srcwin.container.pane0.childsite.con"}
> I SrcBar enable_ui {0 - Browsing=0}
> I GDBMenuBar set_class_state {Enable list is: Control disabled  Other disabled  Trace disabled  Attach disabled  Detach disabled}
> I GDBToolBar set_class_state {Enable list is: Control disabled  Other disabled  Trace disabled  Attach disabled  Detach disabled}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.srcwin0.srcwin"}
> I SrcBar {} {configuring runstop running}
> I SrcBar _set_runstop running
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.srcwin0.srcwin.container.pane2.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.console0.console"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.srcwin0.srcwin.container.pane0.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.srcwin0.srcwin"}
> I SrcWin choose_and_update {chose window ::.srcwin0.srcwin}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "idle" to "::.srcwin0.srcwin.container.pane2.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "idle" to "::.console0.console"}
> 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  Other normal  Attach disabled  Detach normal }
> I GDBToolBar set_class_state {Enable list is: Trace disabled  Control normal  Other 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
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.srcwin0.srcwin.container.pane2.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.console0.console"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.srcwin0.srcwin.container.pane0.childsite.con"}
> I SrcBar enable_ui {0 - Browsing=0}
> I GDBMenuBar set_class_state {Enable list is: Control disabled  Other disabled  Trace disabled  Attach disabled  Detach disabled}
> I GDBToolBar set_class_state {Enable list is: Control disabled  Other disabled  Trace disabled  Attach disabled  Detach disabled}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.srcwin0.srcwin"}
> I SrcBar {} {configuring runstop running}
> I SrcBar _set_runstop running
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.srcwin0.srcwin.container.pane2.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.console0.console"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.srcwin0.srcwin.container.pane0.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.srcwin0.srcwin"}
> I SrcWin choose_and_update {chose window ::.srcwin0.srcwin}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "idle" to "::.srcwin0.srcwin.container.pane2.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "idle" to "::.console0.console"}
> 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  Other normal  Attach disabled  Detach normal }
> I GDBToolBar set_class_state {Enable list is: Trace disabled  Control normal  Other 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
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.srcwin0.srcwin.container.pane2.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.console0.console"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.srcwin0.srcwin.container.pane0.childsite.con"}
> I SrcBar enable_ui {0 - Browsing=0}
> I GDBMenuBar set_class_state {Enable list is: Control disabled  Other disabled  Trace disabled  Attach disabled  Detach disabled}
> I GDBToolBar set_class_state {Enable list is: Control disabled  Other disabled  Trace disabled  Attach disabled  Detach disabled}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.srcwin0.srcwin"}
> I SrcBar {} {configuring runstop running}
> I SrcBar _set_runstop running
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.srcwin0.srcwin.container.pane2.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.console0.console"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.srcwin0.srcwin.container.pane0.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.srcwin0.srcwin"}
> I SrcWin choose_and_update {chose window ::.srcwin0.srcwin}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "idle" to "::.srcwin0.srcwin.container.pane2.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "idle" to "::.console0.console"}
> 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  Other normal  Attach disabled  Detach normal }
> I GDBToolBar set_class_state {Enable list is: Trace disabled  Control normal  Other 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
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.srcwin0.srcwin.container.pane2.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.console0.console"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.srcwin0.srcwin.container.pane0.childsite.con"}
> I SrcBar enable_ui {0 - Browsing=0}
> I GDBMenuBar set_class_state {Enable list is: Control disabled  Other disabled  Trace disabled  Attach disabled  Detach disabled}
> I GDBToolBar set_class_state {Enable list is: Control disabled  Other disabled  Trace disabled  Attach disabled  Detach disabled}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.srcwin0.srcwin"}
> I SrcBar {} {configuring runstop running}
> I SrcBar _set_runstop running
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.srcwin0.srcwin.container.pane2.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.console0.console"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.srcwin0.srcwin.container.pane0.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "update" to "::.srcwin0.srcwin"}
> I SrcWin choose_and_update {chose window ::.srcwin0.srcwin}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "idle" to "::.srcwin0.srcwin.container.pane2.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "idle" to "::.console0.console"}
> 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  Other normal  Attach disabled  Detach normal }
> I GDBToolBar set_class_state {Enable list is: Trace disabled  Control normal  Other 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
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.srcwin0.srcwin.container.pane2.childsite.con"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.console0.console"}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.srcwin0.srcwin.container.pane0.childsite.con"}
> I SrcBar enable_ui {0 - Browsing=0}
> I GDBMenuBar set_class_state {Enable list is: Control disabled  Other disabled  Trace disabled  Attach disabled  Detach disabled}
> I GDBToolBar set_class_state {Enable list is: Control disabled  Other disabled  Trace disabled  Attach disabled  Detach disabled}
> I GDBEventHandler GDBEventHandler::dispatch {posting event "busy" to "::.srcwin0.srcwin"}
> I SrcBar {} {configuring runstop running}
> I SrcBar _set_runstop running
> 

Since I am doing some bug reporting, let me add that clicking on info_regs also crashes with a segfault.

This is the CVS HEAD.

Thanks,
Bahadir
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.