delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/05/03/20:31:13

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Please help resurrecting GDB for version 7.0 release
Date: Sun, 3 May 2009 17:23:31 -0700 (PDT)
Organization: http://groups.google.com
Lines: 49
Message-ID: <d5126d62-422a-4cdd-989e-96fa0f99359a@h23g2000vbc.googlegroups.com>
References: <83zldveryw DOT fsf AT gnu DOT org> <684bdd55-b464-4e61-b28e-28774dc6ced8 AT o27g2000vbd DOT googlegroups DOT com>
<83y6tfem02 DOT fsf AT gnu DOT org> <_ZKdnV74euw2-2HUnZ2dnUVZ_uednZ2d AT earthlink DOT com>
<83ws8zeb05 DOT fsf AT gnu DOT org> <Z4adna6AJcyQeWDUnZ2dnUVZ_t-dnZ2d AT earthlink DOT com>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1241396611 11857 127.0.0.1 (4 May 2009 00:23:31 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Mon, 4 May 2009 00:23:31 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: h23g2000vbc.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.10)
Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

On May 3, 1:35=A0pm, "Charles Sandmann" <cwsd DOT  DOT  DOT  AT earthlink DOT net> wrote:
> >"Eli Zaretskii" <e DOT  DOT  DOT  AT gnu DOT org> wrote in message
> >news:83ws8zeb05 DOT fsf AT gnu DOT org...
> >> From: "Charles Sandmann" <cwsd DOT  DOT  DOT  AT earthlink DOT net>
> >> >"Eli Zaretskii" <e DOT  DOT  DOT  AT gnu DOT org> wrote in message
> >> >Yes, for the same reason: it thinks DJGPP supports SSE registers.
> >> What is required to make that work?
> > There are 2 possible fixes: the easy one and the more complicated one.
>
> > The easy one is a two-liner: tell GDB that we don't support SSE. =A0I
> > already did that, and the patch is in the GDB CVS repository since
> > about 2 days ago.
>
> OK, that seems to be reasonable. =A0I suspect that any SSE capable
> software will probably be written on other platforms and rarely
> debugged at the register level with DJGPP (mostly ported).

For the record, 386SWAT supports SSE1, OpenWatcom's WD supports SSE2
(and SSE3??). So at least DOS isn't completely bereft although I'm
skeptical OW's WD can handle DJGPP .EXEs properly (debug info).
Japheth claims to love WD, but even he says it has issues with
FreeDOS. (As for debugging on other hosts, at least on XP you need the
VDMSERV for DOS apps, and gfx don't work. In other words, Windows
ain't for DOS no more, oh noes ....)

> > The more complex solution is to extend save_npx and load_npx to use
> > FXSAVE and FXRSTOR instructions, when they are available, instead of
> > FNSAVE and FRSTOR that we use now.
>
> Rugxulo did convince me to update CWSDPMI to support SSE, which
> was a good thing.

So good that DJ never updated his server with it.   ;-)     Or maybe
you told him to wait until you made some tweaks?? The only thing worse
than not updating something is updating and having nobody know about
it!! (Hi, Raine dude!)

> But needing to debug is another issue, agreed. =A0There
> are the complications of determining support, etc, making sure you don't
> break old platforms. =A0Not worth the hassle.
> (For someone wanting to work on this, the referenced code is in dbgcom.c)=
.

Lots of inline AT&T in that file. Very confusing although I
(unsurprisingly) admit to knowing nothing about the FPU and DPMI
exceptions. Maybe somebody can find Pierre Muller and bug him to work
on it (doubtful).

- Raw text -


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