public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tui/17810] New: TUI is excessively slow in mingw console
@ 2015-01-07 21:54 dje at google dot com
  2015-01-07 21:55 ` [Bug tui/17810] " dje at google dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dje at google dot com @ 2015-01-07 21:54 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17810

            Bug ID: 17810
           Summary: TUI is excessively slow in mingw console
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tui
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

TUI is excessively slow in the mingw console.

The initial discussion is here:

https://sourceware.org/ml/gdb-patches/2015-01/msg00079.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug tui/17810] TUI is excessively slow in mingw console
  2015-01-07 21:54 [Bug tui/17810] New: TUI is excessively slow in mingw console dje at google dot com
@ 2015-01-07 21:55 ` dje at google dot com
  2015-02-04 12:23 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: dje at google dot com @ 2015-01-07 21:55 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17810

dje at google dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eliz at gnu dot org

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug tui/17810] TUI is excessively slow in mingw console
  2015-01-07 21:54 [Bug tui/17810] New: TUI is excessively slow in mingw console dje at google dot com
  2015-01-07 21:55 ` [Bug tui/17810] " dje at google dot com
@ 2015-02-04 12:23 ` cvs-commit at gcc dot gnu.org
  2015-02-04 12:28 ` cvs-commit at gcc dot gnu.org
  2015-02-04 13:16 ` palves at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-02-04 12:23 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17810

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Pedro Alves <palves@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=518be979d905d8e8708c70149fdb3207aba53aa1

commit 518be979d905d8e8708c70149fdb3207aba53aa1
Author: Doug Evans <dje@google.com>
Date:   Wed Feb 4 12:27:28 2015 +0100

    Speed up GDB's TUI output

    In the TUI mode, we call wrefresh after outputting every single
    character.  This results in the I/O becoming very slow.  Fix this by
    delaying refreshing the console window until an explicit flush of
    gdb_stdout is requested, or a write to any other (unbuffered) file is
    done.

    2015-02-04  Doug Evans  <dje@google.com>
            Pedro Alves  <palves@redhat.com>
            Eli Zaretskii  <eliz@gnu.org>

        PR tui/17810
        * tui/tui-command.c (tui_refresh_cmd_win): New function.
        * tui/tui-command.c (tui_refresh_cmd_win): Declare.
        * tui/tui-file.c: #include tui/tui-command.h.
        (tui_file_fputs): Refresh command window if stream is not gdb_stdout.
        (tui_file_flush): Refresh command window if stream is gdb_stdout.
        * tui/tui-io.c (tui_puts): Remove calls to wrefresh, fflush.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug tui/17810] TUI is excessively slow in mingw console
  2015-01-07 21:54 [Bug tui/17810] New: TUI is excessively slow in mingw console dje at google dot com
  2015-01-07 21:55 ` [Bug tui/17810] " dje at google dot com
  2015-02-04 12:23 ` cvs-commit at gcc dot gnu.org
@ 2015-02-04 12:28 ` cvs-commit at gcc dot gnu.org
  2015-02-04 13:16 ` palves at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-02-04 12:28 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17810

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The gdb-7.9-branch branch has been updated by Pedro Alves
<palves@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2b7d5144a58e63cb9517f6a8b31dd7c5e05a7ffe

commit 2b7d5144a58e63cb9517f6a8b31dd7c5e05a7ffe
Author: Doug Evans <dje@google.com>
Date:   Wed Feb 4 13:04:30 2015 +0100

    Speed up GDB's TUI output

    In the TUI mode, we call wrefresh after outputting every single
    character.  This results in the I/O becoming very slow.  Fix this by
    delaying refreshing the console window until an explicit flush of
    gdb_stdout is requested, a write to any other (unbuffered) file is
    done.

    2015-02-04  Doug Evans  <dje@google.com>
            Pedro Alves  <palves@redhat.com>
            Eli Zaretskii  <eliz@gnu.org>

        PR tui/17810
        * tui/tui-command.c (tui_refresh_cmd_win): New function.
        * tui/tui-command.c (tui_refresh_cmd_win): Declare.
        * tui/tui-file.c: #include tui/tui-command.h.
        (tui_file_fputs): Refresh command window if stream is not gdb_stdout.
        (tui_file_flush): Refresh command window if stream is gdb_stdout.
        * tui/tui-io.c (tui_puts): Remove calls to wrefresh, fflush.
        (tui_readline_output): Call tui_refresh_cmd_win.
        (print_filename): Likewise.
        (tui_rl_display_match_list): Likewise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug tui/17810] TUI is excessively slow in mingw console
  2015-01-07 21:54 [Bug tui/17810] New: TUI is excessively slow in mingw console dje at google dot com
                   ` (2 preceding siblings ...)
  2015-02-04 12:28 ` cvs-commit at gcc dot gnu.org
@ 2015-02-04 13:16 ` palves at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: palves at redhat dot com @ 2015-02-04 13:16 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17810

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |palves at redhat dot com
         Resolution|---                         |FIXED
   Target Milestone|---                         |7.9

--- Comment #3 from Pedro Alves <palves at redhat dot com> ---
Fixed, master and 7.9.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-02-04 12:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-07 21:54 [Bug tui/17810] New: TUI is excessively slow in mingw console dje at google dot com
2015-01-07 21:55 ` [Bug tui/17810] " dje at google dot com
2015-02-04 12:23 ` cvs-commit at gcc dot gnu.org
2015-02-04 12:28 ` cvs-commit at gcc dot gnu.org
2015-02-04 13:16 ` palves at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).