public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/15182] New: Pagination is triggered for dprintf
@ 2013-02-23 13:59 marc.khouzam at ericsson dot com
  2013-04-18  8:58 ` [Bug breakpoints/15182] " teawater at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: marc.khouzam at ericsson dot com @ 2013-02-23 13:59 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 15182
           Summary: Pagination is triggered for dprintf
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
        AssignedTo: unassigned@sourceware.org
        ReportedBy: marc.khouzam@ericsson.com
    Classification: Unclassified


Pagination is triggered for dprintf in CLI mode.  I have seen this when using
dprintf-style 'gdb' but I didn't try the "call" mode because it does not work
on my Ubuntu machine.  

I think pagination is a problem for dprintf because:

   a) when pagination is triggered, inferior execution will be 
      interrupted until the user answers the pagination prompt

   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.

-- 
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 breakpoints/15182] Pagination is triggered for dprintf
  2013-02-23 13:59 [Bug breakpoints/15182] New: Pagination is triggered for dprintf marc.khouzam at ericsson dot com
@ 2013-04-18  8:58 ` teawater at gmail dot com
  2013-04-18  8:59 ` teawater at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: teawater at gmail dot com @ 2013-04-18  8:58 UTC (permalink / raw)
  To: gdb-prs

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

teawater <teawater at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |teawater at gmail dot com

--- Comment #1 from teawater <teawater at gmail dot com> 2013-04-18 08:58:57 UTC ---
http://sourceware.org/ml/gdb-patches/2013-04/msg00550.html

-- 
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 breakpoints/15182] Pagination is triggered for dprintf
  2013-02-23 13:59 [Bug breakpoints/15182] New: Pagination is triggered for dprintf 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
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: teawater at gmail dot com @ 2013-04-18  8:59 UTC (permalink / raw)
  To: gdb-prs

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

teawater <teawater at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at sourceware    |teawater at gmail dot com
                   |dot org                     |

-- 
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 breakpoints/15182] Pagination is triggered for dprintf
  2013-02-23 13:59 [Bug breakpoints/15182] New: Pagination is triggered for dprintf 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
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: teawater at gmail dot com @ 2013-04-26  7:57 UTC (permalink / raw)
  To: gdb-prs

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

teawater <teawater at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING

--- Comment #2 from teawater <teawater at gmail dot com> 2013-04-26 07:57:02 UTC ---
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 (éå)

-- 
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-13570-listarch-gdb-prs=sources.redhat.com@sourceware.org Fri Apr 26 17:45:51 2013
Return-Path: <gdb-prs-return-13570-listarch-gdb-prs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-gdb-prs@sources.redhat.com
Received: (qmail 17194 invoked by alias); 26 Apr 2013 17:45:51 -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 17165 invoked by uid 48); 26 Apr 2013 17:45:50 -0000
From: "tromey at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug python/14204] Documentation of gdb.Block
Date: Fri, 26 Apr 2013 17:45:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gdb
X-Bugzilla-Component: python
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tromey at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: tromey at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: CC AssignedTo
Message-ID: <bug-14204-4717-nTKiq8scK7@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-14204-4717@http.sourceware.org/bugzilla/>
References: <bug-14204-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/msg00159.txt.bz2
Content-length: 601

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com
         AssignedTo|unassigned at sourceware    |tromey at redhat dot com
                   |dot org                     |

--
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 breakpoints/15182] Pagination is triggered for dprintf
  2013-02-23 13:59 [Bug breakpoints/15182] New: Pagination is triggered for dprintf marc.khouzam at ericsson dot com
                   ` (2 preceding siblings ...)
  2013-04-26  7:57 ` teawater at gmail dot com
@ 2013-05-03 10:38 ` marc.khouzam at ericsson dot com
  2013-05-03 10:45 ` marc.khouzam at ericsson dot com
  2013-06-27 18:47 ` marc.khouzam at ericsson dot com
  5 siblings, 0 replies; 7+ messages in thread
From: marc.khouzam at ericsson dot com @ 2013-05-03 10:38 UTC (permalink / raw)
  To: gdb-prs

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.


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

* [Bug breakpoints/15182] Pagination is triggered for dprintf
  2013-02-23 13:59 [Bug breakpoints/15182] New: Pagination is triggered for dprintf marc.khouzam at ericsson dot com
                   ` (3 preceding siblings ...)
  2013-05-03 10:38 ` marc.khouzam at ericsson dot com
@ 2013-05-03 10:45 ` marc.khouzam at ericsson dot com
  2013-06-27 18:47 ` marc.khouzam at ericsson dot com
  5 siblings, 0 replies; 7+ messages in thread
From: marc.khouzam at ericsson dot com @ 2013-05-03 10:45 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #5 from Marc Khouzam <marc.khouzam at ericsson dot com> 2013-05-03 10:45:06 UTC ---
Another note is that pagination does not seem to trigger when using MI, which
is my main usecase.

-- 
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 breakpoints/15182] Pagination is triggered for dprintf
  2013-02-23 13:59 [Bug breakpoints/15182] New: Pagination is triggered for dprintf marc.khouzam at ericsson dot com
                   ` (4 preceding siblings ...)
  2013-05-03 10:45 ` marc.khouzam at ericsson dot com
@ 2013-06-27 18:47 ` marc.khouzam at ericsson dot com
  5 siblings, 0 replies; 7+ messages in thread
From: marc.khouzam at ericsson dot com @ 2013-06-27 18:47 UTC (permalink / raw)
  To: gdb-prs

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

Marc Khouzam <marc.khouzam at ericsson dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #6 from Marc Khouzam <marc.khouzam at ericsson dot com> ---
We agreed that this would not be fixed.

-- 
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:[~2013-06-27 18:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-23 13:59 [Bug breakpoints/15182] New: Pagination is triggered for dprintf 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
2013-05-03 10:45 ` marc.khouzam at ericsson dot com
2013-06-27 18:47 ` marc.khouzam at ericsson 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).