public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "xdje42 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug cli/17151] New: pagination should be per line
Date: Mon, 14 Jul 2014 02:50:00 -0000	[thread overview]
Message-ID: <bug-17151-4717@http.sourceware.org/bugzilla/> (raw)

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

            Bug ID: 17151
           Summary: pagination should be per line
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: minor
          Priority: P2
         Component: cli
          Assignee: unassigned at sourceware dot org
          Reporter: xdje42 at gmail dot com

While playing with bug 16809 I discovered this.

set height 1
i thr

-->

(gdb) i thr
---Type <return> to continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
Id---Type <return> to continue, or q <return> to quit---
  ---Type <return> to continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
Target Id---Type <return> to continue, or q <return> to quit---
        ---Type <return> to continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
Frame---Type <return> to continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---

---Type <return> to continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
5---Type <return> to continue, or q <return> to quit---
   ---Type <return> to continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
Thread 0x7ffff67c6700 (LWP 31214) "forever-threads"---Type <return> to
continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
(running)
---Type <return> to continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
4---Type <return> to continue, or q <return> to quit---
   ---Type <return> to continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
Thread 0x7ffff6fc7700 (LWP 31213) "forever-threads"---Type <return> to
continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
(running)
---Type <return> to continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
3---Type <return> to continue, or q <return> to quit---
   ---Type <return> to continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
Thread 0x7ffff77c8700 (LWP 31212) "forever-threads"---Type <return> to
continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
(running)
---Type <return> to continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
2---Type <return> to continue, or q <return> to quit---
   ---Type <return> to continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
Thread 0x7ffff7fc9700 (LWP 31211) "forever-threads"---Type <return> to
continue, or q <return> to quit---
 ---Type <return> to continue, or q <return> to quit---
(running)
---Type <return> to continue, or q <return> to quit---
[at this point I gave up]

A height of 2 works ok.
So either 1 needs to be disallowed or something more sensible done.

(gdb) set height 2
(gdb) i thr
  Id   Target Id         Frame 
---Type <return> to continue, or q <return> to quit---
  5    Thread 0x7ffff67c6700 (LWP 31214) "forever-threads" (running)
---Type <return> to continue, or q <return> to quit---
  4    Thread 0x7ffff6fc7700 (LWP 31213) "forever-threads" (running)
---Type <return> to continue, or q <return> to quit---
  3    Thread 0x7ffff77c8700 (LWP 31212) "forever-threads" (running)
---Type <return> to continue, or q <return> to quit---
  2    Thread 0x7ffff7fc9700 (LWP 31211) "forever-threads" (running)
---Type <return> to continue, or q <return> to quit---
* 1    Thread 0x7ffff7fcb740 (LWP 31207) "forever-threads" (running)

Testcase: forever-threads.c from bug 17147.

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


             reply	other threads:[~2014-07-14  2:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-14  2:50 xdje42 at gmail dot com [this message]
2022-01-09  1:32 ` [Bug cli/17151] " tromey at sourceware dot org
2022-01-11 14:46 ` tromey at sourceware dot org
2022-04-15 17:54 ` cvs-commit at gcc dot gnu.org
2022-04-15 17:55 ` tromey at sourceware dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-17151-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).