X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f NNTP-Posting-Date: Sun, 03 May 2009 13:35:57 -0500 From: "Charles Sandmann" Newsgroups: comp.os.msdos.djgpp 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> Subject: Re: Please help resurrecting GDB for version 7.0 release Date: Sun, 3 May 2009 13:35:55 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-RFC2646: Format=Flowed; Original Message-ID: Lines: 27 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 64.91.192.48 X-Trace: sv3-vENhVuEPaXN9oIdnav7JzGCr5Uja1tB8XgX+d9inYsFDBI3n+JWT6ZfjgPbeuSw+t7pTIlj6fgpG2pt!MOkOoW4/vGETJcVNHCwN9X2aA4133A9d1zO7WOkx6Y8vpbE5/7K2462cQ6gKPIVEP9ADtAAGYqHw!DQzY4SoSUy39sGdc57iS2RwkBCx26C8= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 X-Original-Bytes: 2573 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >"Eli Zaretskii" wrote in message >news:83ws8zeb05 DOT fsf AT gnu DOT org... >> From: "Charles Sandmann" >> >"Eli Zaretskii" 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. I > already did that, and the patch is in the GDB CVS repository since > about 2 days ago. OK, that seems to be reasonable. I suspect that any SSE capable software will probably be written on other platforms and rarely debugged at the register level with DJGPP (mostly ported). > 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. But needing to debug is another issue, agreed. There are the complications of determining support, etc, making sure you don't break old platforms. Not worth the hassle. (For someone wanting to work on this, the referenced code is in dbgcom.c).