This is the mail archive of the gdb-prs@sourceware.org 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]

[Bug tui/14332] New: Output from inferior confuses gdbtui


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.


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