Re: Patch: RFA: operate-and-get-next fix

Tom Tromey
2002-06-19T19:19:00Z

Elena> Shouldn't gdb_readline_wrapper return the result?

Yes, thanks for catching that. I guess the current code works only by
mistake.

Elena> This stuff is getting impossibly convoluted. :-(

Yes. Unfortunately the best fix involves some tricky readline
hacking. Basically it would mean making rl_pre_input_hook work
correctly in the async case.

Elena> Could you come up with a testcase to add to the testsuite?

Sure. I don't know when; I'll get back to you once I've done it. It
could be quite some time.

Tom