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: No step button using insight w/ remote target.


On Mon, Nov 12, 2001 at 10:13:33AM -0500, Fernando Nasser wrote:
> Grant Edwards wrote:

> > I'm using 5.0.92 from the development snapshot ftp directory
> > configured for arm-elf target Linux RH6.2 host.  The target is
> > an ARM7 single-board computer running RedBoot w/ GDB stubs.
[...]
> >  2) Downloading with the "target" menu using the "continue" run
> >     method and "set breakpoint" works OK, but when the
> >     breakpoint is hit, none of the step, next, continue,
> >     buttons are enabled.

> It seems that the notification that the target has stopped is not
> reaching the menu and toolbar objects...
> 
> Grant, can you please start the Debug Window before you connect
> and let us know what is in there?

Here it is.  

I deleted about 400 lines of Download:: lines.  If there's
anything else I can try, let me know (I'm really bad at Tcl, so
aim low).  This trace was started before I connected to the
target.  At the end of the trace the breakpoint at
"cyg_user_start" has been hit and execution stopped.  The
source window shows the correct file, with the correct line
hightlighted and the breakpoint is indicated. The status line
at the bottom says "Program terminated. 'Run' will restart."
The 'Run' button is enabled, and the step/next/cont/finish
buttons are disbaled.  Everything under the Control meny is
disabled.

----------------------------------------------------------------------

(SrcWin::_set_state) gdb_running l=0 d=0 r=0
(global::gdbtk_clear_file) 
(SrcTextWin::clear_file) In clear_file
(SrcWin::_set_state) gdb_running l=0 d=0 r=0
(SrcWin::_set_state) gdb_downloading l=0 d=0 r=0
(SrcWin::_set_state) gdb_loaded l=0 d=0 r=0
(SrcWin::_set_state) gdb_running l=0 d=0 r=0
(ManagedWin::find) SrcWin
(global::gdbtk_locate_main) Searching MAIN___ MAIN__ main
(GDBEventHandler::GDBEventHandler::dispatch) posting event "update" to "::.srcwin0.srcwin.container.pane2.childsite.con"
(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
(SrcWin::_update) loc={} {} {} 0 0x0 0x0 {}
(SrcWin::fillNameCB) gdb_listfiles returned 
(SrcWin::location) running=0 tag= linespec={} {} {} 0 0x0 0x0 {}
(SrcWin::location) not running: name= funcname= line=0
(global::gdbtk_locate_main) Searching MAIN___ MAIN__ main
(SrcWin::_name) .srcwin0.srcwin.container.pane1.childsite.con.name 
(SrcWin::point_to_main) could not find main
(GDBEventHandler::GDBEventHandler::dispatch) posting event "busy" to "::.srcwin0.srcwin.container.pane2.childsite.con"
(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
(ManagedWin::find) SrcWin
(ManagedWin::find) SrcWin
(SrcWin::fillNameCB) gdb_listfiles returned _exit.cxx aiopic.c atexit.cxx boot.s clock.cxx cnt_sem.cxx cstartup.cxx delete.cxx diag.cxx dlmalloc.cxx dmrts_ether.c dp-bit.c dummy.c errno.cxx eth_drv.c except.cxx exit.cxx fflush.cxx flag.cxx fp-bit.c hal_diag.c hal_if.c hal_misc.c haldiag.c if.c if_ether.c if_ethersubr.c if_loop.c igmp.c in.c in_cksum.c in_pcb.c in_proto.c init.cxx intr.cxx invokemain.cxx io_file.c ioinit.cxx iosys.c ip_icmp.c ip_id.c ip_input.c ip_output.c kapi.cxx kern_subr.c libgcc2.c main.cxx mainthread.cxx malloc.cxx mbox.cxx memchr.cxx memcmp.cxx memcpy.c memfixed.cxx memset.c memvar.cxx mlqueue.cxx mutex.cxx pkgstart.cxx prestart.cxx radix.c raw_cb.c raw_ip.c raw_usrreq.c route.c rtsock.c s_modf.c sched.cxx select.c serecho.c serial.c sprintf.cxx startup.cxx stdiofiles.cxx strcmp.cxx stream.cxx streambuf.cxx strerror.cxx strlen.cxx strncpy.cxx strsuppt.cxx support.c synch.c tcdiag.cxx tcp_debug.c tcp_input.c tcp_output.c tcp_subr.c tcp_timer.c tcp_usrreq.c thread.cxx timeout.c udp_usrreq.c uipc_domain.c uipc_mbuf.c uipc_socket.c uipc_socket2.c vfnprintf.cxx vsnprintf.cxx
(GDBEventHandler::GDBEventHandler::dispatch) posting event "idle" to "::.srcwin0.srcwin.container.pane2.childsite.con"
(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
(SrcBar::enable_ui) 2 - Browsing=0
(GDBMenuBar::set_class_state) Enable list is: Control disabled  Trace disabled  Other normal  Attach normal  Detach disabled 
(GDBToolBar::set_class_state) Enable list is: Control disabled  Trace disabled  Other normal  Attach normal  Detach disabled 
(ManagedWin::find) SrcWin
(global::gdbtk_locate_main) Searching MAIN___ MAIN__ main
(SrcWin::location) running=0 tag=BROWSE_TAG linespec={/opt/ecos/ecos-cvs/ecos/packages/language/c/libc/startup/current/src/main.cxx main /opt/ecos/ecos-cvs/ecos/packages/language/c/libc/startup/current/src/main.cxx 100 0x1ee8c 0x0 {}}
(SrcWin::location) not running: name= funcname= line=
(global::gdbtk_locate_main) Searching MAIN___ MAIN__ main
(SrcWin::location) new linespec=/opt/ecos/ecos-cvs/ecos/packages/language/c/libc/startup/current/src/main.cxx main /opt/ecos/ecos-cvs/ecos/packages/language/c/libc/startup/current/src/main.cxx 100 0x1ee8c 0x0 {}
(SrcTextWin::_mtime_changed) no mtime. resetting to zero
(SrcTextWin::LoadFile) /opt/ecos/ecos-cvs/ecos/packages/language/c/libc/startup/current/src/main.cxx  SOURCE
(SrcTextWin::LoadFromCache) LoadFromCache t /opt/ecos/ecos-cvs/ecos/packages/language/c/libc/startup/current/src/main.cxx S
(SrcTextWin::LoadFromCache) name=/opt/ecos/ecos-cvs/ecos/packages/language/c/libc/startup/current/src/main.cxx
(SrcTextWin::LoadFromCache) pane=pane1
(SrcTextWin::LoadFile) READING /opt/ecos/ecos-cvs/ecos/packages/language/c/libc/startup/current/src/main.cxx
(SrcWin::_set_state) gdb_loaded l=0 d=0 r=0
(SrcWin::_set_state) gdb_running l=0 d=0 r=0
(global::gdbtk_attach_remote) Attaching....
(ManagedWin::find) SrcWin
(SrcBar::enable_ui) 2 - Browsing=0
(GDBMenuBar::set_class_state) Enable list is: Control disabled  Trace disabled  Other normal  Attach normal  Detach disabled 
(GDBToolBar::set_class_state) Enable list is: Control disabled  Trace disabled  Other normal  Attach normal  Detach disabled 
(global::set_target) CONNECTING TO TARGET: remote /dev/ttyS1 
(SrcWin::_set_state) gdb_loaded l=0 d=0 r=0
(global::run_executable) Downloading...
(SrcWin::_set_state) gdb_loaded l=0 d=0 r=0
(Download::download_it) exe=/home/grante/demo/demo/serecho.elf downloading=0
(Download::download_it)     loaded=0 target=remote running=0
(SrcWin::_set_state) gdb_downloading l=0 d=1 r=0
(SrcWin::_set_state) gdb_loaded l=0 d=1 r=0
(GDBEventHandler::GDBEventHandler::dispatch) posting event "busy" to "::.srcwin0.srcwin.container.pane2.childsite.con"
(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
(Download::download_it) downloading /home/grante/demo/demo/serecho.elf
(ManagedWin::find) SrcWin
(SrcBar) configuring runstop downloading
(SrcBar::_set_runstop) downloading
(Download::download_it) starting load
(Download::download_hash) sec=.rom_vectors num=68 tot=174787 ok=0
(Download::download_hash) sec=.text num=305 tot=174787 ok=0
[...]
(Download::download_hash) sec=.boot num=4 tot=174787 ok=0
(Download::download_it) Done loading
(SrcWin::_set_state) gdb_downloading l=0 d=0 r=0
(SrcWin::_set_state) gdb_loaded l=1 d=0 r=0
(ManagedWin::find) SrcWin
(SrcBar) configuring runstop normal
(SrcBar::_set_runstop) normal
(GDBEventHandler::GDBEventHandler::dispatch) posting event "idle" to "::.srcwin0.srcwin.container.pane2.childsite.con"
(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
(SrcBar::enable_ui) 2 - Browsing=0
(GDBMenuBar::set_class_state) Enable list is: Control disabled  Trace disabled  Other normal  Attach normal  Detach disabled 
(GDBToolBar::set_class_state) Enable list is: Control disabled  Trace disabled  Other normal  Attach normal  Detach disabled 
(SrcWin::_set_state) gdb_running l=1 d=0 r=1
(global::run_executable) Setting BP at cyg_user_start
(GDBEventHandler::GDBEventHandler::dispatch) posting event "breakpoint" to "::.srcwin0.srcwin.container.pane2.childsite.con"
(GDBEventHandler::GDBEventHandler::dispatch) posting event "breakpoint" to "::.srcwin0.srcwin.container.pane0.childsite.con"
(GDBEventHandler::GDBEventHandler::dispatch) posting event "breakpoint" to "::.srcwin0.srcwin"
(global::run_executable) Continuing target...
(GDBEventHandler::GDBEventHandler::dispatch) posting event "busy" to "::.srcwin0.srcwin.container.pane2.childsite.con"
(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 "::.srcwin0.srcwin.container.pane0.childsite.con"
(GDBEventHandler::GDBEventHandler::dispatch) posting event "update" to "::.srcwin0.srcwin"
(SrcWin::choose_and_update) chose window ::.srcwin0.srcwin
(SrcWin::_update) loc=serecho.c cyg_user_start /home/grante/demo/demo/serecho.c 72 0x99c 0x99c {}
(SrcWin::location) running=1 tag= linespec=serecho.c cyg_user_start /home/grante/demo/demo/serecho.c 72 0x99c 0x99c {}
(SrcWin::_set_state) gdb_running l=1 d=0 r=0
(SrcWin::_set_state) gdb_running l=1 d=0 r=0
(SrcWin::location) not running: name=/home/grante/demo/demo/serecho.c funcname=cyg_user_start line=72
(SrcTextWin::_mtime_changed) no mtime. resetting to zero
(SrcTextWin::LoadFile) /home/grante/demo/demo/serecho.c /opt/ecos/ecos-cvs/ecos/packages/language/c/libc/startup/current/src/main.cxx SOURCE
(SrcTextWin::LoadFromCache) LoadFromCache t /home/grante/demo/demo/serecho.c S
(SrcTextWin::LoadFromCache) name=/home/grante/demo/demo/serecho.c
(SrcTextWin::LoadFromCache) pane=pane2
(SrcTextWin::LoadFile) READING /home/grante/demo/demo/serecho.c
(GDBEventHandler::GDBEventHandler::dispatch) posting event "idle" to "::.srcwin0.srcwin.container.pane2.childsite.con"
(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
(SrcBar::enable_ui) 2 - Browsing=0
(GDBMenuBar::set_class_state) Enable list is: Control disabled  Trace disabled  Other normal  Attach normal  Detach disabled 
(GDBToolBar::set_class_state) Enable list is: Control disabled  Trace disabled  Other normal  Attach normal  Detach disabled 
(SrcWin::_set_state) gdb_running l=1 d=0 r=0
(global::run_executable) RUNNING
(SrcWin::_set_state) gdb_running l=1 d=0 r=1
(GDBEventHandler::GDBEventHandler::dispatch) posting event "update" to "::.srcwin0.srcwin.container.pane2.childsite.con"
(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
(SrcWin::_update) loc=serecho.c cyg_user_start /home/grante/demo/demo/serecho.c 72 0x99c 0x99c {}
(SrcWin::location) running=1 tag= linespec=serecho.c cyg_user_start /home/grante/demo/demo/serecho.c 72 0x99c 0x99c {}
(SrcWin::_set_state) gdb_running l=1 d=0 r=0
(SrcWin::_set_state) gdb_running l=1 d=0 r=0
(SrcWin::location) not running: name=/home/grante/demo/demo/serecho.c funcname=cyg_user_start line=72
(GDBEventHandler::GDBEventHandler::dispatch) posting event "idle" to "::.srcwin0.srcwin.container.pane2.childsite.con"
(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
(SrcBar::enable_ui) 2 - Browsing=0
(GDBMenuBar::set_class_state) Enable list is: Control disabled  Trace disabled  Other normal  Attach normal  Detach disabled 
(GDBToolBar::set_class_state) Enable list is: Control disabled  Trace disabled  Other normal  Attach normal  Detach disabled 
(SrcWin::_set_state) gdb_running l=1 d=0 r=0



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