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


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


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