Mail Archives: djgpp/2000/03/31/20:57:35
> I usually use FSDB to debug the ASM modules, but now I face 2
> problems. One, if I use NASM's structure support in the ASM
> modules, FSDB randomly throws an exception. These exceptions can
> occur in the middle of an ASM function, or when the function is
> called.
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. For now,
I cannot even make up my mind on whether this is a bug in your
program, in FSDB, or in DJGPP debug support library used by FSDB.
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.
Info about your development platform (hardware, OS, and any
non-standard software) might also be relevant.
> I have tested the function in question to run without a
> debugger and it ran fine.
This doesn't prove anything: you could still have a bug that depends
on how memory is layed out, or on its contents.
> problem number 2 is everytime I invoke int 0x31 function 0x100,
> FSDB terminate my program, reporting the program was terminated
> normally.
Again, please post more info (a short test program or at least a code
fragment would be nice).
If you step through code which invokes Int 31h, this is expected
behavior: only GDB has the machinery to step through such code safely.
> How can I debug these (ASM) functions? Does anybody know FSDB's
> official site? or even if it is still supported?
FSDB is part of the DJGPP development environment and is supported
like the rest of programs and libraries that are part of djdevNNN.zip.
If you have patches or bug reports, please post them here.
- Raw text -