This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
win32/1157: printf() output does not appear in while single stepping the program
- From: cchong97 at hotmail dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 28 Mar 2003 04:29:48 -0000
- Subject: win32/1157: printf() output does not appear in while single stepping the program
- Reply-to: cchong97 at hotmail dot com
>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: