From: ANTHONY APPLEYARD To: DJGPP AT SUN DOT SOE DOT CLARKSON DOT EDU Date: Mon, 19 Dec 1994 13:53:27 GMT Subject: How do I call GDB? Please how ca I call the Gnu debugger GDB? According to the help in C:\DJGPP\DOCS\GDB\, to run the program ZXCVBNM.EXE with the Gnu C debugger, type GDB ZXCVBNM.EXE . But that fails `no such file or command'. Search through my \DJGPP\..... tree reveals no file GDB.EXE (or GDB.BAT or whatever), but there are these two files:- 630784 1994 Jul 27 2.06.44 C:\DJGPP\BIN\GDB 630784 1994 Jul 27 2.06.44 C:\DJGPP\BIN\GDB-DPMI So, I tried typing go32 \djgpp\bin\gdb and this happened:- EXCEPTION OCCURRED! Information dumped to core file: "t$gccdbg" and the file T$GCCDBG is:- ==================== Unsupported DOS request at eip=9003581b eax=0000fe01 ebx=7ffffe0c ecx=00000000 edx=7ffffe04 esi=00000000 edi=7ffffe00 ebp=7ffffd2c esp=7ffffd24 cs=d8 ds=48 es=48 fs=48 gs=38 ss=48 cr2=0000b7b2 Call frame traceback EIPs: 0x9003581b 0x90035aa0 0x90000b47 Contents of stack: stack[0x7ffffd24] = 0x7ffffe0c stack[0x7ffffd26] = 0x00007fff stack[0x7ffffd28] = 0x00000000 stack[0x7ffffd2a] = 0xfd4c0000 stack[0x7ffffd2c] = 0x7ffffd4c stack[0x7ffffd2e] = 0x5aa07fff stack[0x7ffffd30] = 0x90035aa0 stack[0x7ffffd32] = 0xfe0c9003 stack[0x7ffffd34] = 0x7ffffe0c stack[0x7ffffd36] = 0x00007fff stack[0x7ffffd38] = 0x00000000 stack[0x7ffffd3a] = 0xfe000000 stack[0x7ffffd3c] = 0x7ffffe00 stack[0x7ffffd3e] = 0x00007fff stack[0x7ffffd40] = 0x00000000 stack[0x7ffffd42] = 0x00000000 stack[0x7ffffd44] = 0x00000000 stack[0x7ffffd46] = 0x00000000 stack[0x7ffffd48] = 0x00000000 stack[0x7ffffd4a] = 0xfdf80000 stack[0x7ffffd4c] = 0x7ffffdf8 stack[0x7ffffd4e] = 0x0b477fff stack[0x7ffffd50] = 0x90000b47 stack[0x7ffffd52] = 0xfe009000 stack[0x7ffffd54] = 0x7ffffe00 stack[0x7ffffd56] = 0xfe047fff stack[0x7ffffd58] = 0x7ffffe04 stack[0x7ffffd5a] = 0xfe0c7fff stack[0x7ffffd5c] = 0x7ffffe0c stack[0x7ffffd5e] = 0x00007fff stack[0x7ffffd60] = 0x00000000 stack[0x7ffffd62] = 0x00000000 stack[0x7ffffd64] = 0x00000000 stack[0x7ffffd66] = 0x00000000 stack[0x7ffffd68] = 0x00000000 stack[0x7ffffd6a] = 0x00000000 stack[0x7ffffd6c] = 0x00000000 stack[0x7ffffd6e] = 0x00000000 stack[0x7ffffd70] = 0x00000000 stack[0x7ffffd72] = 0x00000000 ==================== Unsupported DOS request at eip=9003581b eax=0000fe01 ebx=7ffffe20 ecx=00000000 edx=7ffffe18 esi=00000000 edi=7ffffe14 ebp=7ffffd40 esp=7ffffd38 cs=d8 ds=48 es=48 fs=48 gs=38 ss=48 cr2=0000b7b2 Call frame traceback EIPs: 0x9003581b 0x90035aa0 0x90000b47 Contents of stack: stack[0x7ffffd38] = 0x7ffffe20 stack[0x7ffffd3a] = 0x00007fff stack[0x7ffffd3c] = 0x00000000 stack[0x7ffffd3e] = 0xfd600000 stack[0x7ffffd40] = 0x7ffffd60 stack[0x7ffffd42] = 0x5aa07fff stack[0x7ffffd44] = 0x90035aa0 stack[0x7ffffd46] = 0xfe209003 stack[0x7ffffd48] = 0x7ffffe20 stack[0x7ffffd4a] = 0x00007fff stack[0x7ffffd4c] = 0x00000000 stack[0x7ffffd4e] = 0xfe140000 stack[0x7ffffd50] = 0x7ffffe14 stack[0x7ffffd52] = 0x00007fff stack[0x7ffffd54] = 0x00000000 stack[0x7ffffd56] = 0x00000000 stack[0x7ffffd58] = 0x00000000 stack[0x7ffffd5a] = 0x00000000 stack[0x7ffffd5c] = 0x00000000 stack[0x7ffffd5e] = 0xfe0c0000 stack[0x7ffffd60] = 0x7ffffe0c stack[0x7ffffd62] = 0x0b477fff stack[0x7ffffd64] = 0x90000b47 stack[0x7ffffd66] = 0xfe149000 stack[0x7ffffd68] = 0x7ffffe14 stack[0x7ffffd6a] = 0xfe187fff stack[0x7ffffd6c] = 0x7ffffe18 stack[0x7ffffd6e] = 0xfe207fff stack[0x7ffffd70] = 0x7ffffe20 stack[0x7ffffd72] = 0x00007fff stack[0x7ffffd74] = 0x00000000 stack[0x7ffffd76] = 0x00000000 stack[0x7ffffd78] = 0x00000000 stack[0x7ffffd7a] = 0x00000000 stack[0x7ffffd7c] = 0x00000000 stack[0x7ffffd7e] = 0x00000000 stack[0x7ffffd80] = 0x00000000 stack[0x7ffffd82] = 0x00000000 stack[0x7ffffd84] = 0x00000000 stack[0x7ffffd86] = 0x00000000