public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Sunil Kulkarni <linux_sunil@hotmail.com>
To: <insight@sourceware.org>
Subject: Multiple Insight sessions on cygwin hang indefinitely
Date: Sat, 22 Sep 2007 08:06:00 -0000	[thread overview]
Message-ID: <BAY122-W21B2BA89189BF716DD53319BB40@phx.gbl> (raw)



Hi,

I am running into hanging Insight windows when more than
one instances of Insight are executing.

$ insightmips64i.exe --version
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-cygwin --target=mips64".

$ uname -a
CYGWIN_NT-5.1 Sunil_Kulkarni 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin

OS: Windows XP professional

My set-up is as follows:

   

   |               |          |         |------ port 1 -- target1
   | Windows/Cygwin|----------| Terminal|------ port 2 -- target 2
   |               |          | server  |        ....
                                        |------ port 32 -- target 32
                                        
In each Insight window, I connect to target as 
"target remote terminal-server:port#".

port numbers change for each target. Potentially, I would like to 
connect to all 32 targets concurrently but I am experimenting with
only 2 sessions as of now.

I try to dump, say 2000 words of target memory on two sessions
(Eg: gdb$ x/500x $sp). 
After displaying around 20 bytes, both the insight windows hang. 
Some times, they hang forever and I need to kill the process. 
Other times, after a few minutes (2 - 5), all the memory is dumped 
on the screen at once as if Insight had buffered the target's memory
while it appeared to hang.

I see this problem only on insight running on cygwin.  
Following debuggers  work fine on the same remote target, same
debugged program and same commands:
 - Insight 6.6 on Linux
 - gdb6.6 (command line) on same cygwin
 - ddd front end with gdb6.6 on same cygwin

(I tested the above with around 8 sessions at the same time)

I am not turning on IPC between Insight sessions.

Also, with more than two sessions running at the same time, 
a couple of them report "Invalid hex digit in response" error.

Please let me know what other information do I need to provide 
since this is the first time that I am working on windows 
environment.

Regards,
Sunil


_________________________________________________________________
More photos; more messages; more whatever – Get MORE with Windows Live™ Hotmail®. NOW with 5GB storage.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_5G_0907

                 reply	other threads:[~2007-09-22  8:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=BAY122-W21B2BA89189BF716DD53319BB40@phx.gbl \
    --to=linux_sunil@hotmail.com \
    --cc=insight@sourceware.org \
    /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).