From: jkolen AT typhoon DOT coginst DOT uwf DOT edu (John F. Kolen) Subject: gdb and egcs 5 Jan 1998 13:46:09 -0800 Message-ID: <9801051521.ZM8162.cygnus.gnu-win32@typhoon.coginst.uwf.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: gnu-win32 AT cygnus DOT com I have a problem using gdb on egcs generated code. Gdb works fine on the first pass through the program. On the second pass it hangs right after the "running ..." message, if there are arguments. Running with no arguments does not display this message, but it still hangs. And it hangs pretty good-- doesn't respond to ^C or kill (Win32) or abort task (Windows95). Any help would be appreciated. ---------------------- begin the culprit ------------------- #include void f(int a, int b, int c) { printf("f: %d %d %d\n",a,b,c); } main() { int a,b,c; a = 1; b = 2; c = a+b; f(a,b,c); printf("main: %d %d %d\n",a,b,c); } ---------------------- end the culprit ------------------- -- John F. Kolen voice: (850)474-3075 Assistant Professor fax: (850)474-3023 Dept. of Computer Science University of West Florida Pensacola, FL 32514 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".