This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix python gdb.execute to not paginate


On Fri, Aug 6, 2010 at 10:15 AM, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "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.

No disagreement there.

> I don't think fixing this should be a requirement for a patch, though.

I'm not sure you're suggesting otherwise, but I'd still like to see
the modicum of changes I've requested implemented.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]