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] TUI: rewrite tui_query_hook()


On 01/08/2015 12:40 PM, Patrick Palka wrote:

> If we use
> gdb_readline_wrapper to print the query and wait for input then the
> 2nd annotation will not be printed in a timely manner because
> gdb_readline_wrapper blocks until a response is given by the user.

Can't we just cat the annotations bits into the query string
itself?  IOW, make them part of the secondary prompt.

Thanks,
Pedro Alves


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