From: Tom Tromey <tromey@redhat.com>
To: Doug Evans <dje@google.com>
Cc: Jan Kratochvil <jan.kratochvil@redhat.com>,
gdb-patches@sourceware.org,
David Malcolm <dmalcolm@redhat.com>
Subject: Re: [patch] Fix python gdb.execute to not paginate
Date: Fri, 06 Aug 2010 17:15:00 -0000 [thread overview]
Message-ID: <m3bp9fu0gr.fsf@fleche.redhat.com> (raw)
In-Reply-To: <AANLkTik5g7Rwm2kyEXDFCmKVC1PJYZmc1xt_MBsUPp6=@mail.gmail.com> (Doug Evans's message of "Thu, 5 Aug 2010 18:22:41 -0700")
>>>>> "Doug" == Doug Evans <dje@google.com> writes:
Doug> Actually, I wonder if it makes sense to bury more implementation
Doug> details. Make an API of it, running a gdb command and collecting the
Doug> result as a string.
If we're talking about the long term, really the whole pagination
interface is broken. Pagination should be a per-stream thing, and
functions like wrap_here should have a stream parameter. Having to
manipulate globals to get the right result here is clearly bogus.
I don't think fixing this should be a requirement for a patch, though.
Tom
next prev parent reply other threads:[~2010-08-06 17:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-05 21:20 Jan Kratochvil
2010-08-06 0:49 ` Doug Evans
2010-08-06 1:22 ` Doug Evans
2010-08-06 17:15 ` Tom Tromey [this message]
2010-08-06 17:27 ` Doug Evans
2010-08-06 10:29 ` Jan Kratochvil
2010-08-06 21:37 ` Doug Evans
2010-08-07 15:02 ` Jan Kratochvil
2010-08-09 17:30 ` Tom Tromey
2010-08-09 19:24 ` Jan Kratochvil
2010-08-06 8:35 ` Eli Zaretskii
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=m3bp9fu0gr.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=dje@google.com \
--cc=dmalcolm@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
/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