Date: Wed, 20 Dec 1995 16:47:03 +0200 (IST) From: Eli Zaretskii To: Manfred Schiefert Cc: djgpp AT sun DOT soe DOT clarkson DOT edu, schiefer AT aut DOT alcatel DOT at Subject: Re: HELP: Problem with DJ gdb 412 On Wed, 20 Dec 1995, Manfred Schiefert wrote: > calling gdb under MSDOS 6.20 alone AND also under WFW 3.11 results into: > > Unsupported DOS request at eip 9003581b > Register dump mentions: > eax=0000fe01 ebx=7ffffe48 ecx=esi=0 edx=7ffffe4d edi=7ffffe3c > epb=7ffffd68 esp=7ffffd60 cs=d8 ds=es=fs=ss=48 gs=38 cr2=0000b7b2 > call frame traceback EIPs > 9003581b > 90035aa0 > 90000b47 Please read the DJGPP FAQ list (available as faq102.zip from the same place you get DJGPP), Chapter 12. It describes how to invoke the debugger correctly (``go32 -d gdb progname''). Also note that under Windows you need to use a DPMI version of the debugger (``go32 -d gdb-dpmi prog''). There is a known bug in the current DPMI version of gdb which most probably will cause it to crash under Windows when a breakpoint is hit, so you'll be better off debugging with gdb outside Windows. But the way it crashes for you now (Unsupported DOS request) is NOT what you'd see when you invoke gdb correctly under Windows.