public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tui/14584] New: Scrolling does not work in TUI mode
@ 2012-09-14 19:11 byron at hawkinssoftware dot net
  2012-09-14 19:18 ` [Bug tui/14584] Cannot scroll the cmd window " byron at hawkinssoftware dot net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: byron at hawkinssoftware dot net @ 2012-09-14 19:11 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=14584

             Bug #: 14584
           Summary: Scrolling does not work in TUI mode
           Product: gdb
           Version: 7.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tui
        AssignedTo: unassigned@sourceware.org
        ReportedBy: byron@hawkinssoftware.net
    Classification: Unclassified


It is not possible to scroll up in the CMD window in TUI mode. Only the SRC
window will scroll. Setting focus to the CMD window does not change the
problem. All of the following keys are ignored: {PgUp,PgDn,<,>,+,-}, and the up
and down arrows traverse the command history. This makes TUI mode substantially
useless, because it is not possible to see the output of past values. One can
enable logging and tail the log, but the log fails to report the commands from
which the output was generated (and therefore the log is overall quite
useless). 

The debugger is only usable when all past session information can be seen by
scrolling back to it (and he logging output is only usable when it contains
both the commands and the resulting output).

GDB 7.4-2012.04 
Ubuntu 12.04
  kernel version 3.2.0-29-generic
x86 PC

Thanks for your help with this.

-- 
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.


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

* [Bug tui/14584] Cannot scroll the cmd window in TUI mode
  2012-09-14 19:11 [Bug tui/14584] New: Scrolling does not work in TUI mode byron at hawkinssoftware dot net
@ 2012-09-14 19:18 ` byron at hawkinssoftware dot net
  2012-09-14 19:37 ` jan.kratochvil at redhat dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: byron at hawkinssoftware dot net @ 2012-09-14 19:18 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=14584

Byron Hawkins <byron at hawkinssoftware dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Scrolling does not work in  |Cannot scroll the cmd
                   |TUI mode                    |window in TUI mode

-- 
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.


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

* [Bug tui/14584] Cannot scroll the cmd window in TUI mode
  2012-09-14 19:11 [Bug tui/14584] New: Scrolling does not work in TUI mode byron at hawkinssoftware dot net
  2012-09-14 19:18 ` [Bug tui/14584] Cannot scroll the cmd window " byron at hawkinssoftware dot net
@ 2012-09-14 19:37 ` jan.kratochvil at redhat dot com
  2012-09-14 20:07 ` byron at hawkinssoftware dot net
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jan.kratochvil at redhat dot com @ 2012-09-14 19:37 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=14584

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jan.kratochvil at redhat
                   |                            |dot com

--- Comment #1 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2012-09-14 19:36:26 UTC ---
(In reply to comment #0)
> but the log fails to report the commands from which the output was generated

set trace-commands on


Otherwise you are right that readline library does not provide any real
terminal, it cares only about the current line.  GDB uses 'set pagination on'
so that no output is accidentally lost but what is scrolled away is really
lost. Maybe you would prefer some other front end besides TUI:
  http://sourceware.org/gdb/wiki/GDB_Front_Ends

-- 
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.


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

* [Bug tui/14584] Cannot scroll the cmd window in TUI mode
  2012-09-14 19:11 [Bug tui/14584] New: Scrolling does not work in TUI mode byron at hawkinssoftware dot net
                   ` (2 preceding siblings ...)
  2012-09-14 20:07 ` byron at hawkinssoftware dot net
@ 2012-09-14 20:07 ` byron at hawkinssoftware dot net
  2012-09-14 20:08 ` byron at hawkinssoftware dot net
  2015-07-03 22:42 ` patrick at parcs dot ath.cx
  5 siblings, 0 replies; 7+ messages in thread
From: byron at hawkinssoftware dot net @ 2012-09-14 20:07 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=14584

--- Comment #2 from Byron Hawkins <byron at hawkinssoftware dot net> 2012-09-14 20:07:07 UTC ---
Actually with "set trace-commands on" I can just tail the log. (I searched for
a long time trying to find such a setting and did not come up with anything.)
The graphical interfaces seem to always be missing essential things, like
printing assembly at an arbitrary address, so I will use TUI with logging.

It still seems unfortunate that TUI mode is so convenient, yet destroys the
output. If it would just work the same as GDB without TUI mode, it would be
great.

--- Comment #3 from Byron Hawkins <byron at hawkinssoftware dot net> 2012-09-14 20:07:07 UTC ---
Actually with "set trace-commands on" I can just tail the log. (I searched for
a long time trying to find such a setting and did not come up with anything.)
The graphical interfaces seem to always be missing essential things, like
printing assembly at an arbitrary address, so I will use TUI with logging.

It still seems unfortunate that TUI mode is so convenient, yet destroys the
output. If it would just work the same as GDB without TUI mode, it would be
great.

-- 
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.


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

* [Bug tui/14584] Cannot scroll the cmd window in TUI mode
  2012-09-14 19:11 [Bug tui/14584] New: Scrolling does not work in TUI mode byron at hawkinssoftware dot net
  2012-09-14 19:18 ` [Bug tui/14584] Cannot scroll the cmd window " byron at hawkinssoftware dot net
  2012-09-14 19:37 ` jan.kratochvil at redhat dot com
@ 2012-09-14 20:07 ` byron at hawkinssoftware dot net
  2012-09-14 20:07 ` byron at hawkinssoftware dot net
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: byron at hawkinssoftware dot net @ 2012-09-14 20:07 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=14584

--- Comment #2 from Byron Hawkins <byron at hawkinssoftware dot net> 2012-09-14 20:07:07 UTC ---
Actually with "set trace-commands on" I can just tail the log. (I searched for
a long time trying to find such a setting and did not come up with anything.)
The graphical interfaces seem to always be missing essential things, like
printing assembly at an arbitrary address, so I will use TUI with logging.

It still seems unfortunate that TUI mode is so convenient, yet destroys the
output. If it would just work the same as GDB without TUI mode, it would be
great.

--- Comment #3 from Byron Hawkins <byron at hawkinssoftware dot net> 2012-09-14 20:07:07 UTC ---
Actually with "set trace-commands on" I can just tail the log. (I searched for
a long time trying to find such a setting and did not come up with anything.)
The graphical interfaces seem to always be missing essential things, like
printing assembly at an arbitrary address, so I will use TUI with logging.

It still seems unfortunate that TUI mode is so convenient, yet destroys the
output. If it would just work the same as GDB without TUI mode, it would be
great.

-- 
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.


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

* [Bug tui/14584] Cannot scroll the cmd window in TUI mode
  2012-09-14 19:11 [Bug tui/14584] New: Scrolling does not work in TUI mode byron at hawkinssoftware dot net
                   ` (3 preceding siblings ...)
  2012-09-14 20:07 ` byron at hawkinssoftware dot net
@ 2012-09-14 20:08 ` byron at hawkinssoftware dot net
  2015-07-03 22:42 ` patrick at parcs dot ath.cx
  5 siblings, 0 replies; 7+ messages in thread
From: byron at hawkinssoftware dot net @ 2012-09-14 20:08 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=14584

--- Comment #4 from Byron Hawkins <byron at hawkinssoftware dot net> 2012-09-14 20:07:58 UTC ---
Actually with "set trace-commands on" I can just tail the log. (I searched for
a long time trying to find such a setting and did not come up with anything.)
The graphical interfaces seem to always be missing essential things, like
printing assembly at an arbitrary address, so I will use TUI with logging.

It still seems unfortunate that TUI mode is so convenient, yet destroys the
output. If it would just work the same as GDB without TUI mode, it would be
great.

-- 
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.


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

* [Bug tui/14584] Cannot scroll the cmd window in TUI mode
  2012-09-14 19:11 [Bug tui/14584] New: Scrolling does not work in TUI mode byron at hawkinssoftware dot net
                   ` (4 preceding siblings ...)
  2012-09-14 20:08 ` byron at hawkinssoftware dot net
@ 2015-07-03 22:42 ` patrick at parcs dot ath.cx
  5 siblings, 0 replies; 7+ messages in thread
From: patrick at parcs dot ath.cx @ 2015-07-03 22:42 UTC (permalink / raw)
  To: gdb-prs

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

patrick at parcs dot ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |patrick at parcs dot ath.cx
           Assignee|unassigned at sourceware dot org   |patrick at parcs dot ath.cx

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


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

end of thread, other threads:[~2015-07-03 22:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-14 19:11 [Bug tui/14584] New: Scrolling does not work in TUI mode byron at hawkinssoftware dot net
2012-09-14 19:18 ` [Bug tui/14584] Cannot scroll the cmd window " byron at hawkinssoftware dot net
2012-09-14 19:37 ` jan.kratochvil at redhat dot com
2012-09-14 20:07 ` byron at hawkinssoftware dot net
2012-09-14 20:07 ` byron at hawkinssoftware dot net
2012-09-14 20:08 ` byron at hawkinssoftware dot net
2015-07-03 22:42 ` patrick at parcs dot ath.cx

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).