From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5219 invoked by alias); 19 Dec 2002 17:57:23 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 5211 invoked from network); 19 Dec 2002 17:57:22 -0000 Received: from unknown (HELO melanieb.vtt.fi) (130.188.1.12) by 209.249.29.67 with SMTP; 19 Dec 2002 17:57:22 -0000 Received: from mailgw.vtt.fi (localhost [127.0.0.1]) by melanieb.vtt.fi (8.9.3/8.9.3) with ESMTP id TAA09313; Thu, 19 Dec 2002 19:57:09 +0200 (EET) Received: from tretk10047.vtt.fi (tretk10047.ad.vtt.fi [130.188.112.164]) by mailgw.vtt.fi (8.12.2/8.12.2) with ESMTP id gBJHv6NP004624; Thu, 19 Dec 2002 19:57:06 +0200 (EET) Message-Id: <4.3.2.7.2.20021219195453.00c8d860@vttmail.vtt.fi> X-Sender: tuohts@vttmail.vtt.fi Date: Thu, 19 Dec 2002 09:57:00 -0000 To: Keith Seitz From: Harri Siirtola Subject: Re: Long wait for GUI to connect Cc: insight@sources.redhat.com In-Reply-To: References: <4.3.2.7.2.20021219183310.00c8d100@vttmail.vtt.fi> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_296567524==_" X-SW-Source: 2002-q4/txt/msg00238.txt.bz2 --=====================_296567524==_ Content-Type: multipart/alternative; boundary="=====================_296567530==_.ALT" --=====================_296567530==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Content-length: 1254 At 19:02 19.12.2002, Keith Seitz wrote: >On Thu, 19 Dec 2002, Harri Siirtola wrote: > > > No messages in console window. Either using a gdb.ini file where I connect > > to my target and download my executable or typing "target rdi > e=x.x.x.x" in > > console work fine. It's just the GUI that gives the delay. It works > though, > > it's just a bit annoying to have this delay every time I have to restart > > GDB/Insight (for example, after recompiling my application). > >Ok.. So let me reiterate: When running Insight, you can type the target >commands in the console window and everything works quickly, right? The >next step is to open a debug window and see what it is doing when it is >going so slow. > >To open a debug window, hit "Control-F11" in the source window or type "tk >ManagedWin::open DebugWin" in the console. > >Keith I attached two debug cases, dldebug.txt shows everything from pressing "Run" and selecting the executable from the popup to clicking "Cancel" to the target selection popup. "dldebug2.txt" shows what happens if I click "Run" again. The delay is between "gdb_running" and "Attaching..." and this time it's almost a minute. Harri PS. I still can't figure out why my emails to the list address bounce. --=====================_296567530==_.ALT Content-Type: text/html; charset="us-ascii" Content-length: 1551 At 19:02 19.12.2002, Keith Seitz wrote:
On Thu, 19 Dec 2002, Harri Siirtola wrote:

> No messages in console window. Either using a gdb.ini file where I connect
> to my target and download my executable or typing "target rdi e=x.x.x.x" in
> console work fine. It's just the GUI that gives the delay. It works though,
> it's just a bit annoying to have this delay every time I have to restart
> GDB/Insight (for example, after recompiling my application).

Ok.. So let me reiterate: When running Insight, you can type the target
commands in the console window and everything works quickly, right? The
next step is to open a debug window and see what it is doing when it is
going so slow.

To open a debug window, hit "Control-F11" in the source window or type "tk
ManagedWin::open DebugWin" in the console.

Keith

I attached two debug cases, dldebug.txt shows everything from pressing "Run" and selecting the executable from the popup to clicking "Cancel" to the target selection popup. "dldebug2.txt" shows what happens if I click "Run" again. The delay is between "gdb_running" and "Attaching..." and this time it's almost a minute.

        Harri
PS. I still can't figure out why my emails to the list address bounce.
--=====================_296567530==_.ALT-- --=====================_296567524==_ Content-Type: text/plain; charset="us-ascii" Content-Disposition: attachment; filename="dldebug2.txt" Content-length: 812 (SrcWin::_set_state) gdb_running l=0 d=0 r=0 (global::gdbtk_attach_remote) Attaching.... (ManagedWin::_open) TargetSelection -exportcancel 1 -center -transient (ManagedWin::_create) win=targetselection args=-exportcancel 1 -center -transient (ModalDialog::post) POST ::.targetselection0.targetselection (ModalDialog::destructor) UNPOST ::.targetselection0.targetselection (iwidgets::Labeledframe::destructor) In Labeledframe destructor for ::.targetselection0.targetselection.f.lab, reposition is (iwidgets::Labeledframe::destructor) In Labeledframe destructor for ::.targetselection0.targetselection.moreoptionsframe.frame.lf.childsite.run_method, reposition is (iwidgets::Labeledframe::destructor) In Labeledframe destructor for ::.targetselection0.targetselection.moreoptionsframe.frame, reposition is --=====================_296567524==_ Content-Type: text/plain; charset="us-ascii" Content-Disposition: attachment; filename="dldebug.txt" Content-length: 7417 (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 "::.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 (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 "::.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 (ManagedWin::find) SrcWin (ManagedWin::find) SrcWin (SrcWin::fillNameCB) gdb_listfiles returned asctime.cxx at91_misc.c at91_serial.c bitmap.cxx bluetooth.c bt_init_prog.c btdebug.c btmem.c clock.cxx cnt_sem.cxx ctime.cxx ctype.cxx delete.cxx diag.cxx dlmalloc.cxx dp-bit.c dummy.c emulate.cxx errno.cxx fflush.cxx flag.cxx flash_8011.c fp-bit.c hal_diag.c hal_if.c hal_misc.c haldiag.c hci.c heaps.cxx intr.cxx io.c ioinit.cxx iosys.c kapi.cxx l2cap.c libgcc2.c localtime.cxx malloc.cxx mbox.cxx memchr.cxx memcmp.cxx memcpy.c memfixed.cxx memset.c memvar.cxx mktime.cxx mutex.cxx parser.c pkgstart.cxx prestart.cxx printf.cxx receiver.c rfcomm.c sched.cxx sdp.c serial.c settime.cxx sprintf.cxx sscanf.cxx startup.cxx stdiofiles.cxx stdiosupp.cxx stdout.cxx strcat.cxx strcmp.cxx strcpy.cxx stream.cxx streambuf.cxx strlen.cxx strncmp.cxx strsuppt.cxx strtol.cxx strtoul.cxx thread.cxx time.cxx timeutil.cxx tty.c ungetc.cxx vfnprintf.cxx vfscanf.cxx vsnprintf.cxx vsscanf.cxx wallclock.cxx (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 (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={{} warm_reset {} 0 0x2020040 0x0 {}} (SrcWin::location) not running: name= funcname= line= (global::gdbtk_locate_main) Searching MAIN___ MAIN__ main (SrcWin::location) new linespec={} warm_reset {} 0 0x2020040 0x0 {} (SrcTextWin::FillSource) no source file; switch to assembly (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 (SrcTextWin::mode_set) ASSEMBLY (SrcTextWin::LoadFromCache) LoadFromCache t 0x2020040 A (SrcTextWin::LoadFromCache) name=0x2020040 (SrcTextWin::LoadFromCache) pane=pane1 (SrcTextWin::FillAssembly) Got low address: 0x2020040 and high: 0x2020070 (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 (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_loaded l=0 d=0 r=0 (SrcWin::_set_state) gdb_running l=0 d=0 r=0 (global::gdbtk_attach_remote) Attaching.... (ManagedWin::_open) TargetSelection -exportcancel 1 -center -transient (ManagedWin::_create) win=targetselection args=-exportcancel 1 -center -transient (ModalDialog::post) POST ::.targetselection0.targetselection (ModalDialog::destructor) UNPOST ::.targetselection0.targetselection (iwidgets::Labeledframe::destructor) In Labeledframe destructor for ::.targetselection0.targetselection.f.lab, reposition is (iwidgets::Labeledframe::destructor) In Labeledframe destructor for ::.targetselection0.targetselection.moreoptionsframe.frame.lf.childsite.run_method, reposition is (iwidgets::Labeledframe::destructor) In Labeledframe destructor for ::.targetselection0.targetselection.moreoptionsframe.frame, reposition is --=====================_296567524==_--