🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.asm
Article #234

Debuger fpu dla linuksa

#234
From: Michal
Date: Fri, 12 May 2006 16:27
20 lines
1487 bytes
Witam

Szukam debugera który umożliwiłby mi podgląd wartości rejestrów koprocesora.
Piszę procedurę zmiany rozmiaru obrazka (metoda najbliższego sąsiada) ale
coś się rozjeżdża i chciałbym zobaczyć dokładne co i jak. 

W c wyglada to mniejwięcej tak:

dx = (double)mainPicture->width() / (double)tempPicture->width();
dy = (double)mainPicture->height() / (double)tempPicture->height();
for (int j=0; j<tempPicture->height(); j++)
    ypoz = (j * dy);
    for (int i=0; i<tempPicture->width(); i++) {
        xpoz = (i * dx);
        //ypoz = (j * dy);
        tempPicture->setPixel(i, j, mainPicture->pixel(xpoz, ypoz));
    }
}

W assemblerze mam 40 linii i ciężko jest to znaleźć.
Technical Details
Message-ID: <e42d5p$6ba$1@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Michal <nazgulos@na.g.mailu.com>
Newsgroups: pl.comp.lang.asm
Subject: Debuger fpu dla linuksa
Date: Fri, 12 May 2006 18:27:41 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 20
Message-ID: <e42d5p$6ba$1@nemesis.news.tpi.pl>
NNTP-Posting-Host: fy162.internetdsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1147451385 6506 80.53.50.162 (12 May 2006 16:29:45 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Fri, 12 May 2006 16:29:45 +0000 (UTC)
User-Agent: KNode/0.10.2
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit