To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: gdb From: "Marty Leisner" Date: Tue, 3 May 1994 11:39:19 PDT Sender: leisner AT sdsp DOT mc DOT xerox DOT com Running the gdb debugger I get: 159$gdb go32 version 1.11.maint4 Copyright (C) 1993 DJ Delorie Lowest version I can run is 1.08 Invalid go32 usage running c:/gnu/djgcc/bin/go32 go32.exe usage: go32 [-d {debugger}] [{program} [{options} . . . ]] go32.exe build time was Fri Mar 04 21:29:01 1994 DPMI memory available: 1224 Kb Swap space available: 11756 Kb gcc 160$gdb /tmp/main go32 version 1.11.maint4 Copyright (C) 1993 DJ Delorie 8024+4096+4096 = 16216 General Protection Fault at eip=adecc eax=0000007c ebx=00000004 ecx=0000e528 edx=c0830c45 esi=fffffffc edi=00000040 bp=001baec0 esp=001baeb4 cs=d7 ds=cf es=cf fs=af gs=c7 ss=cf cr2=00001fe3 Call frame traceback EIPs: 0x000adecc 0x000338cb 0x000339b1 0x00033a29 0x00031563 0x00002a81 0x0000e9e6 0x000001b6 0x00001117 gcc 161$ available memory = 5,578,752 available pages = 1,362 available lockable pages = 473 linear space = 2,940 unlocked pages = 480 available physical memory = 0 total physical memory = 3,203,072 free linear space = 1,386 size of paging file = 12,038,144 remaining physical memory = 5,578,752 remaining virtual memory = 5,578,752 What am I doing wrong? /tmp/main is a simple program (from main() {printf("Hello world\n"); } I can't even start up the debugger without a program (same thing happens). marty Member of the League of Programming Freedom leisner AT sdsp DOT mc DOT xerox DOT com leisner AT eso DOT mc DOT xerox DOT com