delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/16/11:47:02

X-Spam-Check-By: sourceware.org
Message-ID: <45FAC9DD.2050804@cwilson.fastmail.fm>
Date: Fri, 16 Mar 2007 11:46:21 -0500
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Using cygwin1.dbg
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

I'm attempting to debug an issue with libtool, and it seems to be 
related to the implementation of argz_insert and/or realloc within 
newlib/cygwin.

I'm using cygwin kernel 1.5.24-2, so I downloaded cygwin-1.5.24-2-src, 
and copied the cygwin1.dbg file from there into /usr/bin/

When I launched gdb/insight (gdb-20060706-2) on my target app, and ran 
the target, I got two popup windows:

"section .text not found in /usr/bin/cygwin1.dbg"
"no loadable sections found in added symbol-file /usr/bin/cygwin1.dbg"

After dismissing those two popups, I tried to go ahead and debug my 
libtool problem.  However, if I try to step into cygwin kernel functions 
-- like argz_insert or realloc -- I do not see source-level info in the 
insight window -- I only get assembly.

Is this normal/expected, and if not, what am I doing wrong and how can I 
do source-level debugging of cygwin kernel functions using the 
distributed .dll/.dbg files?

Or should I just build the kernel unstripped using cygwin-1.5.24-2-src, 
and debug against that?

--
Chuck

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