This is the mail archive of the
mailing list for the Cygwin project.
Re: Directx 5 and gdb
- To: Tom Stokes <tstokes at pacbell dot net>
- Subject: Re: Directx 5 and gdb
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Wed, 5 Aug 1998 03:12:24 -0500 (CDT)
- Cc: CYGWIN32 <gnu-win32 at cygnus dot com>
On Tue, 4 Aug 1998, Tom Stokes wrote:
> I have DirectSound working using Mumit's EGCS/MINGW32 package and Peter
> Hawkins Directx 5 package. However, I do have a problem with GDB like so -
> 1. gdb app
> 2. br WinMain
> 3. run
> I bunch of DLLs get loaded, the line containing WinMain is displayed, then
> gdb crashes with
> an invalid page fault in CRTDLL.DLL. Any takers?
I know very little about DirectX, but from what I understand, there're
some unresolved issues in egcs that causes "bad" code to be emitted that
kills programs using DirectX and other C++-written MS API. Perhaps you're
running into one of these?
Good news is that Antonio M. O. Neto <email@example.com> is
working on creating patches for egcs that will make it emit the right size
for pointers for virtual methods needed to satisfy MS (quite undocumented,
unless you pay for it) ABI. You might want to contact Antonio to see what
he thinks about this.
These patches unfortunately *will not* be in egcs-1.1, but if Antonio has
well-defined changes, I'll probably include them in a maintainance
release, which I'm sure will be needed after the major upgrade.
Then again, you might just be running into something quite different and
all this is simply irrelevant ...
For help on using this list (especially unsubscribing), send a message to
"firstname.lastname@example.org" with one line of text: "help".