public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Long wait for GUI to connect
@ 2002-12-18  4:23 Harri Siirtola
  2002-12-18  7:16 ` Keith Seitz
  0 siblings, 1 reply; 4+ messages in thread
From: Harri Siirtola @ 2002-12-18  4:23 UTC (permalink / raw)
  To: insight

Platform:

WIN98
Cygwin 1.3.1
GDB/Insight 5.1.1 configured for host=i586-pc-cygwin, target=arm-elf

Is there any obvious reason why I must wait for 10-15 seconds before the 
target selection popup appears? If I click "Run" and select the executable, 
or select "Run->Connect to target", this delay results. Or, if I start gdb 
with "arm-elf-gdb myprg.out" and select "Run->Download", same thing.

Thanks for clues,

	Harri

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

* Re: Long wait for GUI to connect
  2002-12-18  4:23 Long wait for GUI to connect Harri Siirtola
@ 2002-12-18  7:16 ` Keith Seitz
  0 siblings, 0 replies; 4+ messages in thread
From: Keith Seitz @ 2002-12-18  7:16 UTC (permalink / raw)
  To: Harri Siirtola; +Cc: insight

On Wed, 18 Dec 2002, Harri Siirtola wrote:

> WIN98
> Cygwin 1.3.1
> GDB/Insight 5.1.1 configured for host=i586-pc-cygwin, target=arm-elf

I'm not entirely sure, but there are a few things you can try to solve 
this. Before I go into those, though, you might want to search the mailing 
list for cygwin and arm messages: I believe that GDB 5.1 had issues with 
arm on cygwin. I would recommend using 5.3 (or even 5.2.x).

Back to the original problem: Try running with the console window open to 
see if there are any messages that get printed out. Try bypassing insight 
(gdb -nw) and see if it is GDB that is causing problems or whether it is 
insight.

This should give us a start.
Keith


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

* Re: Long wait for GUI to connect
       [not found] ` <Pine.LNX.4.44.0212190900200.1495-100000@valrhona.uglyboxes .com>
@ 2002-12-19  9:57   ` Harri Siirtola
  0 siblings, 0 replies; 4+ messages in thread
From: Harri Siirtola @ 2002-12-19  9:57 UTC (permalink / raw)
  To: Keith Seitz; +Cc: insight


[-- Attachment #1.1: Type: text/plain, Size: 1254 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 1551 bytes --]

[-- Attachment #2: dldebug2.txt --]
[-- Type: text/plain, Size: 812 bytes --]

(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 



[-- Attachment #3: dldebug.txt --]
[-- Type: text/plain, Size: 7417 bytes --]

(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 



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

* Re: Long wait for GUI to connect
       [not found] <4.3.2.7.2.20021219183310.00c8d100@vttmail.vtt.fi>
@ 2002-12-19  9:02 ` Keith Seitz
       [not found] ` <Pine.LNX.4.44.0212190900200.1495-100000@valrhona.uglyboxes .com>
  1 sibling, 0 replies; 4+ messages in thread
From: Keith Seitz @ 2002-12-19  9:02 UTC (permalink / raw)
  To: Harri Siirtola; +Cc: insight

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


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

end of thread, other threads:[~2002-12-19 17:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-18  4:23 Long wait for GUI to connect Harri Siirtola
2002-12-18  7:16 ` Keith Seitz
     [not found] <4.3.2.7.2.20021219183310.00c8d100@vttmail.vtt.fi>
2002-12-19  9:02 ` Keith Seitz
     [not found] ` <Pine.LNX.4.44.0212190900200.1495-100000@valrhona.uglyboxes .com>
2002-12-19  9:57   ` Harri Siirtola

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