Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20050529171353.73724.qmail@web31710.mail.mud.yahoo.com> Date: Sun, 29 May 2005 10:13:53 -0700 (PDT) From: Sunil Subject: Re: gdb attach hangs To: cygwin AT cygwin DOT com In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes ok, in that case, why does the following hang? this is not attach. ------------ $ gdb /usr/bin/gnome-panel.exe GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special) Copyright 2004 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 "i686-pc-cygwin"... (gdb) b main Breakpoint 1 at 0x406298: file main.c, line 49. (gdb) r Starting program: /usr/bin/gnome-panel.exe ------------ -Sunil --- Christopher Faylor wrote: > On Sat, May 28, 2005 at 11:11:28PM -0700, Sunil > wrote: > >I have compiled gnome-panel in debug mode. I try > to attach to it with > >gdb, it just hangs like this: > > You can probably blame Microsoft for that. If the > program is sitting > in a blocking Windows API call or it is executing in > dll initialization > code, then attaching to a process will hang until > either of the two > conditions is not met. > > cgf > > -- > Unsubscribe info: > http://cygwin.com/ml/#unsubscribe-simple > Problem reports: > http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new Resources site http://smallbusiness.yahoo.com/resources/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/