delorie.com/archives/browse.cgi | search |
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 |
X-Originating-IP: | [202.69.45.91] |
X-Originating-Email: | [sheraz_attari AT hotmail DOT com] |
X-Sender: | sheraz_attari AT hotmail DOT com |
From: | "Sheraz Attari" <sheraz_attari AT hotmail DOT com> |
To: | cygwin AT sources DOT redhat DOT com |
Subject: | Help required, Debug Dll using cygwin GDB with an exe compiled with MSVC .NET |
Date: | Sat, 06 Nov 2004 07:40:40 +0500 |
Mime-Version: | 1.0 |
Message-ID: | <BAY16-F27rf3yXvEbjk0000164c@hotmail.com> |
X-OriginalArrivalTime: | 06 Nov 2004 02:41:00.0693 (UTC) FILETIME=[0D394450:01C4C3AA] |
I need some help regarding gdb! I've a dll which is build with cygwin g++ with -g option, I want to debug that dll and the application that is using this dll is compiled with MSVC 7, any way to achieve that ? What I get till now is: Start gdb.exe to debug dll as: gdb.exe Script1.dll put breakpoints in that dll as: break _Run //breakpoints are set successfully attach some executable with that dll as: exec-file QuickReplay.exe then set command line arguments to exe as: set args Script1 1 1 then I start the application as: run All is fine till now but when I start the application it just executes it without breaking it at any of the breakpoints thats very strange to me, if anyone can help me in this scenario I'd be grateful, I've tired setting breakpoints at many places! Note: setting breakpoints after exec-file command causes access violations, but those breakpoints work fine before exec-file command. Thanks! _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.com/ -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |