Mail Archives: djgpp/2000/04/06/18:08:09
On Mon, 3 Apr 2000, batchex wrote:
> I got around the random exception stuff in FSDB, but new one
> arises.
>
> Hmm, I still haven't upgrade to 2.03 yet.
Please do.
> detect_dpmi_ok1:
> mov [dosmem_selector],dx ; here FSDB throws
> exception 0x3030 or 0x3036
> mov [dosmem_segment],ax
Does the problem happen when you single-step through this instruction,
or even if you let the program run freely?
> ; if I try 'x/20bx vbe20DrvInfo' here, GDB crashes, error 04.
> vbe20DrvInfo is global.
Sorry, I don't understand: where is ``here''? On what line(s) does
the crash happen? Are there any places where the same command does
not crash?
Also, what version of GDB do you have installed? What does
"gdb --version" print?
> How can I redirect the crash info from GDB to a file?
Invoke GDB with its stderr redirected:
redir -e crash.txt gdb prog.exe
where prog.exe is your program. When it crashes, the file crash.txt
will hold the crash message; please post it here.
> Also, what do I need to upgrade my djgpp to 2.03?
Download and unzip v2/djdev203.zip. It comes with a new fsdb.exe,
among other things.
- Raw text -