This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Patch: RFA: operate-and-get-next fix
- From: Tom Tromey <tromey at redhat dot com>
- To: Elena Zannoni <ezannoni at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: 19 Jun 2002 13:32:25 -0600
- Subject: Re: Patch: RFA: operate-and-get-next fix
- References: <87n0vtc1n2.fsf@creche.redhat.com><15632.50715.850955.747717@localhost.redhat.com>
- Reply-to: tromey at redhat dot com
>>>>> "Elena" == Elena Zannoni <ezannoni@redhat.com> writes:
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