delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/01/11:00:50

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Jim Marshall <jim DOT marshall AT wbemsolutions DOT com>
Subject: GDB with VC++ components
Date: Thu, 01 Nov 2007 11:59:09 -0400
Lines: 22
Message-ID: <fgct4e$1oa$1@ger.gmane.org>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
X-IsSubscribed: yes
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

Hi,
  I realize this is probably a GDB question, I sent a message to that 
alias but have not gotten a response. I am hoping someone on this list 
may have some experience with this and can answer the question.

The basic question is: "Should I be able to use GDB to load and execute 
a VC++ application, and debug DLLs that application loads that where 
built with gcc?"

Basically I have a program compiled with MSVC 6 (Release). This program 
loads DLL's and executes them. I have built a DLL using GCC [gcc (GCC) 
3.4.4 (cygming special, gdc 0.12, using dmd 0.125)]. The program loads 
the DLL and executes it "correctly" (meaning that the dll is loaded and 
functions called). I need to debug the DLL, so I would like to attach 
GDB to the running process, then set a break point in my DLL and debug 
it. When I do this GDB seems to hang loading symbols.

Any thoughts appreciated
Jim

Windows XP Pro SP2
GNU gdb 6.5.50.20060706-cvs (cygwin-special)


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