From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4392 invoked by alias); 5 Jul 2012 13:10:15 -0000 Received: (qmail 4243 invoked by uid 22791); 5 Jul 2012 13:10:14 -0000 X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_DB X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 Jul 2012 13:10:00 +0000 From: "joachim.protze at zih dot tu-dresden.de" To: gdb-prs@sourceware.org Subject: [Bug tui/14332] New: Output from inferior confuses gdbtui Date: Thu, 05 Jul 2012 13:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tui X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joachim.protze at zih dot tu-dresden.de X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2012-q3/txt/msg00014.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14332 Bug #: 14332 Summary: Output from inferior confuses gdbtui Product: gdb Version: 7.4 Status: NEW Severity: normal Priority: P2 Component: tui AssignedTo: unassigned@sourceware.org ReportedBy: joachim.protze@zih.tu-dresden.de Classification: Unclassified Created attachment 6510 --> http://sourceware.org/bugzilla/attachment.cgi?id=6510 print 20 lines of "hello world!" To reproduce: gcc -g hello2.c -o hello gdb -ex run -tui ./hello The first "Hello World!\n" is overwritten by the gdb output, therefore the printf is in a for-loop. Two symptoms can be viewed: - the \n produces a line feed only, no carriage return - the output of the inferior is not fetched and reported in the output subscreen -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.