[RFC] An initial patch for PR/1961

Daniel Jacobowitz drow@false.org
Wed Jul 6 13:27:00 GMT 2005


On Wed, Jul 06, 2005 at 03:20:37PM +0800, Wu Zhou wrote:
> BTW.  I ever thought of adding a testcase to verify this, but found that 
> gdb will timeout while waiting for the tui output under expect's control.
> Is there any method to work around this?  More generally, is there any way 
> to test TUI interface using expect? (I don't find any tests for TUI under 
> the testsuite directory.)  Maybe it is desirable for TUI to receive enough 
> test just like what MI had done. 

In theory, it is possible to use expect to test a curses application
like the TUI.  In practice, I haven't got a clue how you would do it.

-- 
Daniel Jacobowitz
CodeSourcery, LLC



More information about the Gdb-patches mailing list