HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Help required, Debug Dll using cygwin GDB with...
Operating System - OpenVMS
1832845
Members
2982
Online
110047
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 06:20 PM
11-04-2004 06:20 PM
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!
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 06:42 PM
11-04-2004 06:42 PM
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 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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 09:06 PM
11-04-2004 09:06 PM
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
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 09:11 PM
11-04-2004 09:11 PM
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
"cygwin" is a GCC port on Windows.
"MSVC" stands for Microsoft Visual C (which *think* still is only available for Windows).
cu,
Martin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP