This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug tui/14332] New: Output from inferior confuses gdbtui
- From: "joachim.protze at zih dot tu-dresden.de"<sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 05 Jul 2012 13:09:46 +0000
- Subject: [Bug tui/14332] New: Output from inferior confuses gdbtui
- Auto-submitted: auto-generated
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.