Operating System - OpenVMS
1832845 Members
2889 Online
110047 Solutions
New Discussion

Re: Help required, Debug Dll using cygwin GDB with an exe compiled with MSVC 7

 
Sheraz_1
New Member

Help required, Debug Dll using cygwin GDB with an exe compiled with MSVC 7

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!

Thanks!
3 REPLIES 3
Kris Clippeleyr
Honored Contributor

Re: Help required, Debug Dll using cygwin GDB with an exe compiled with MSVC 7

Sheraz,

I think you put your question in the wrong forum.
Although some of our regulars are familiar with MickeySoft, this is a VMS forum.
Please try your luck in a Windows forum.

Cheers,

Kris
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
Ian Miller.
Honored Contributor

Re: Help required, Debug Dll using cygwin GDB with an exe compiled with MSVC 7

Well spotted Kris - I read the message and had no idea what operating system it related to - I guessed it was not VMS.
____________________
Purely Personal Opinion
Martin Vorlaender
Honored Contributor

Re: Help required, Debug Dll using cygwin GDB with an exe compiled with MSVC 7

Ian,

"cygwin" is a GCC port on Windows.

"MSVC" stands for Microsoft Visual C (which *think* still is only available for Windows).

cu,
Martin