This is the mail archive of the cygwin mailing list for the Cygwin 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: gdb attach hangs


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
<cgf-no-personal-reply-please@cygwin.com> 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/


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