This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GDB with VC++ components

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

Windows XP Pro SP2
GNU gdb (cygwin-special)

-- Unsubscribe info: Problem reports: Documentation: FAQ:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]