www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/11/17:47:00

From: "Bruce Merry (the Almighty Cheese)" <bmerry DOT nospam AT iafrica DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Debugging inline asm?
Date: Wed, 11 Feb 1998 20:13:29 +0200
Organization: Confusion
Lines: 22
Message-ID: <34E1EA49.1F3FEC4E@iafrica.com>
NNTP-Posting-Host: 196-7-171-180.iafrica.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi

I've been trying to optimise my DJGPP program by using inline asm inside
the most used loop (where the program spends about 80-90% of its time),
but needless to say it is impossible to write perfect asm code the first
time. So I need a debugger that will allow me to go 1 assembly
instruction at a time and check the registers and FP stack and so on as
I go. 

Anyone know of a (386) debugger that works with DJGPP programs / a way
to allow gdb to do this?

TIA
Bruce
-- 
Please remove the ".nospam" from my address before replying
/--------------------------------------------------------------------\
| Bruce Merry (Entropy)            | bmerry at iafrica dot com       |
| Proud user of Linux!             | http://www.cs.uct.ac.za/~bmerry |
|            It is impossible to make anything foolproof             |
|                  because fools are so ingenious.                   |
\--------------------------------------------------------------------/

- Raw text -


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