delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/29/02:11:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: <20050529061128.10652.qmail@web31709.mail.mud.yahoo.com>
Date: Sat, 28 May 2005 23:11:28 -0700 (PDT)
From: Sunil <funtoos AT yahoo DOT com>
Subject: gdb attach hangs
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-IsSubscribed: yes

Hi,

I have compiled gnome-panel in debug mode. I try to
attach to it with gdb, it just hangs like this:
-------
$ 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) attach 3756
Attaching to program `/usr/bin/gnome-panel.exe',
process 3460
-------

this also hangs:

---------
$ 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 

---------

I have re-installed gdb along with its direct deps
(ncurses, tcltk, libiconv) several times. I am using
cygwin 1.5.13.

Anybody seen anything like this before. I can't seem
to debug many programs built with debug symbols. Its
able to set the breakpoint but it just doesn't start
the program.

Thanks for your help,
-Sunil


		
__________________________________ 
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019