This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

win32/1157: printf() output does not appear in while single stepping the program


>Number:         1157
>Category:       win32
>Synopsis:       printf() output  does not appear in  while single stepping the program
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 28 04:38:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     chi chong
>Release:        20030303-1
>Organization:
>Environment:
cygwin 1.3.22-1
>Description:
Single step the following program, but output from printf() does not come out until the program terminates. I'm expecting output as the the printf() line is executed.

int main(char argc, char *argv[])
{
  int i;
  for (i=0; i<5; i++) {
    printf("i=%d\n", i);
  }
  return 1;
}
>How-To-Repeat:
just single stepping the executable in gdb.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]