gdb and egcs

John F. Kolen jkolen@typhoon.coginst.uwf.edu
Mon Jan 5 13:23:00 GMT 1998


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".



More information about the Cygwin mailing list