This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
gdb and egcs
- To: gnu-win32 at cygnus dot com
- Subject: gdb and egcs
- From: "John F. Kolen" <jkolen at typhoon dot coginst dot uwf dot edu>
- Date: Mon, 5 Jan 1998 15:21:51 -0600
- References: <9801010055.AA26764@modi.xraylith.wisc.edu>
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 <stdio.h>
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@cygnus.com" with one line of text: "help".