delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/28/05:18:57

Date: Wed, 28 Sep 1994 15:57:22 +22305931 (WAUST)
From: Ron Grunwald <rgrunwal AT bluering DOT cowan DOT edu DOT au>
Sender: Ron Grunwald <rgrunwal AT bluering DOT cowan DOT edu DOT au>
Reply-To: Ron Grunwald <rgrunwal AT bluering DOT cowan DOT edu DOT au>
Subject: Re: DJGPP Windows support
To: "Frederick W. Reimer" <fwreimer AT crl DOT com>
Cc: SAMHAA AT esic DOT eun DOT eg, djgpp AT sun DOT soe DOT clarkson DOT edu


On Tue, 27 Sep 1994, Frederick W. Reimer wrote:

> On Tue, 27 Sep 1994, Ron Grunwald wrote:
> > I would be interested as well in what limitations DJGPP code has under
> > the Windows operating system. So far I've found that I couldn't get the
> > GDB debugger to work at all under Windows. It simply aborts with a
> > General Protection fault.
>
> I believe you can only use the DPMI specific debugger under windows.

> think it's edb-dpmi or somesuch.
>
> Fred Reimer
>
> +-------------------------------------------------------------+
> | The views expressed in the above are solely my own, and are |
> | not necessarily the views of my employer.  Have a nice day! |
> | PGP2.6 public key available via `finger fwreimer AT crl DOT com`   |
> +-------------------------------------------------------------+
>
>

I have actually used the DPMI-specific version of GDB. However, it still
aborts with a GP fault. I haven't had the opportunity to investigate this
problem any further at this stage, but would sure like to know what it's
unhappy about.

Here is the session I had a couple of days ago:

D:\DJGPP\DTLSOLID>go32 -d /djgpp/bin/gdb-dpmi dspldesr
go32 version 1.12.maint2 Copyright (C) 1994 DJ Delorie
58832+4096+296 =3D 63224
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.

GDB 4.12 (go32 ), Copyright 1994 Free Software Foundation, Inc...Segmentati
on vi
olation in pointer 0x000ce004 at af:85a77
eax=3D000c3f00 ebx=3D00000008 ecx=3D00007c70 edx=3D000ce004 esi=3D000ce004
edi=3D00007c70
ebp=3D00299e4c esp=3D00299e24 cs=3Daf ds=3Da7 es=3Da7 fs=3Dc7 gs=3Ddf ss=3D
a7 cr2=3D00001fe5
Call frame traceback EIPs:
  0x00085a77
  0x0004901f
  0x0004866e
  0x00021db6
  0x00021f8e
  0x000221ff
  0x0000150a

D:\DJGPP\DTLSOLID>go32 -d /djgpp/bin/gdb-dpmi
go32 version 1.12.maint2 Copyright (C) 1994 DJ Delorie
Lowest version I can run is 1.08
Invalid go32 usage running d:/djgpp.112/bin/go32
go32.exe usage: go32 [-d {debugger}] [{program} [{options} . . . ]]
go32.exe build time was Sun Sep 11 21:30:28 1994
DPMI memory available: 1928 Kb
Swap space available: 9748 Kb

D:\DJGPP\DTLSOLID>


Using the EDEBUG32 debugger under Windows works beatifully.

Regards, Ron.



 ********************************************************************
 | Author.............. Ron Grunwald                                | 
 | Internet............ rgrunwal AT bluering DOT cowan DOT edu DOT au              | 
 | Phone............... (09)273 8027 or (09)273 8468                |
 |------------------------------------------------------------------|
 | Department.......... Information Technology                      | 
 | Division/Faculty.... Operations and Systems Management           | 
 | Institute........... Edith Cowan University, Churchlands         | 
 | Location............ Perth, Western Australia                    |
 ********************************************************************
 "I don't have any solution but I certainly admire the problem!"

 
 





- Raw text -


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