Date: Sun, 2 Apr 2000 10:19:28 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: batchex cc: djgpp AT delorie DOT com Subject: Re: HELP! : Debugging a c/asm mixed programs In-Reply-To: <132d89d2.e5b1a24a@usw-ex0105-036.remarq.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, 1 Apr 2000, batchex wrote: > >Please post the relevant info, don't keep secrets from us. What > >exception(s) does FSDB ``throw'', any register dumps, other > relevant > >phenomena--all this is required to offer you adequate help. > What I meant is FSDB 'reports' an exception (in a red box at the > center of the screen). This is expected behavior when you step through INT NN instructions which invoke DPMI functions. I don't think FSDB can do it; GDB can. In FSDB, you should put a breakpoint somewhere after the INT NN instruction and then press F9 instead of stepping. After the program hits the breakpoint, you can resume the stepping. > >Also, please tell what version of DJGPP are you using. The debug > >support has changed a lot in v2.03, with lots of bugs fixed, so if > >you use older versions, please upgrade. > Hmm I don't know for sure. I think it's 2.02, but the GCC is > 2.8.1. If you indeed have DJGPP v2.02, I suggest to upgrade to v2.03 urgently. The debug support in v2.03 is much better. The version of the compiler is not important, you can keep 2.8.1 if you want. > >Info about your development platform (hardware, OS, and any > >non-standard software) might also be relevant. > > > Pure MS-DOS environment. Is the DPMI server CWSDPMI or something else?