delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/08/05/11:23:55.1

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: Directx 5 and gdb
5 Aug 1998 11:23:55 -0700 :
Message-ID: <Pine.SUN.3.93.980805030551.25726C-100000.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <000901bdbfd2$ebf85600$5547aace AT TomStokes>
Mime-Version: 1.0
To: Tom Stokes <tstokes AT pacbell DOT net>
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?
> 

Tom,

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 <anmendes AT cruzeironet DOT com DOT br> 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 ...

Regards,
Mumit


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019