public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "marc.khouzam at ericsson dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug breakpoints/15182] Pagination is triggered for dprintf
Date: Fri, 03 May 2013 10:38:00 -0000	[thread overview]
Message-ID: <bug-15182-4717-ZVTu5s7Eud@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-15182-4717@http.sourceware.org/bugzilla/>

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

--- Comment #3 from Marc Khouzam <marc.khouzam at ericsson dot com> 2013-05-03 10:38:21 UTC ---
(In reply to comment #2)
> http://www.sourceware.org/ml/gdb-patches/2013-04/msg00790.html
> 
> Instead of fixing this problem, could we document that user has to disable
> pagination when dprintf breakpoint is used? Something similar is documented for
> non-stop here <http://sourceware.org/gdb/onlinedocs/gdb/Non_002dStop-Mode.html>
> 
>      # If using the CLI, pagination breaks non-stop.
>      set pagination off
> --
> Yao (éå)

Yes, that sounds like a good enough solution.

-- 
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.
>From gdb-prs-return-13594-listarch-gdb-prs=sources.redhat.com@sourceware.org Fri May 03 10:44:12 2013
Return-Path: <gdb-prs-return-13594-listarch-gdb-prs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-gdb-prs@sources.redhat.com
Received: (qmail 29062 invoked by alias); 3 May 2013 10:44:12 -0000
Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <gdb-prs.sourceware.org>
List-Subscribe: <mailto:gdb-prs-subscribe@sourceware.org>
List-Archive: <http://sourceware.org/ml/gdb-prs/>
List-Post: <mailto:gdb-prs@sourceware.org>
List-Help: <mailto:gdb-prs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: gdb-prs-owner@sourceware.org
Delivered-To: mailing list gdb-prs@sourceware.org
Received: (qmail 29006 invoked by uid 48); 3 May 2013 10:44:12 -0000
From: "marc.khouzam at ericsson dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug breakpoints/15182] Pagination is triggered for dprintf
Date: Fri, 03 May 2013 10:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gdb
X-Bugzilla-Component: breakpoints
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marc.khouzam at ericsson dot com
X-Bugzilla-Status: WAITING
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: teawater at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15182-4717-N3q7rU3CEX@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15182-4717@http.sourceware.org/bugzilla/>
References: <bug-15182-4717@http.sourceware.org/bugzilla/>
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-SW-Source: 2013-q2/txt/msg00183.txt.bz2
Content-length: 1009

http://sourceware.org/bugzilla/show_bug.cgi?id\x15182

--- Comment #4 from Marc Khouzam <marc.khouzam at ericsson dot com> 2013-05-03 10:44:11 UTC ---
(In reply to comment #0)

>    b) pagination is triggered by the dprintf but not by real
>       inferior output. So, as dprintf and inferior printouts
>       appear interleaved on the screen, the pagination prompt
>       will be triggered when the dprintfs add up to too many,
>       which will seem random to the user, since the other
>       printouts are also visible.

Just for the sake of completeness, since normal inferior output does not
trigger pagination, and that dprintf output should behave like real output, I
wonder why we can't have the dprintf use the same technique as normal output?

But anyway, that is not a big deal, I just wanted to complete the discussion.

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


  parent reply	other threads:[~2013-05-03 10:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-23 13:59 [Bug breakpoints/15182] New: " marc.khouzam at ericsson dot com
2013-04-18  8:58 ` [Bug breakpoints/15182] " teawater at gmail dot com
2013-04-18  8:59 ` teawater at gmail dot com
2013-04-26  7:57 ` teawater at gmail dot com
2013-05-03 10:38 ` marc.khouzam at ericsson dot com [this message]
2013-05-03 10:45 ` marc.khouzam at ericsson dot com
2013-06-27 18:47 ` marc.khouzam at ericsson dot com

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-15182-4717-ZVTu5s7Eud@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).