From: "Bruce Merry (the Almighty Cheese)" 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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. | \--------------------------------------------------------------------/