This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Support inferior events in python
On Fri, 11 Feb 2011 20:18:53 +0100, sami wagiaalla wrote:
> If I understand correctly gdb_test, and gdb_test_multiple test for
> the gdb prompt after the output,
gdb_test does, gdb_test_multiple does not. You should use gdb_test_multiple.
Additionally you could catch both the asynchornous info and $gdb_prompt
separately using gdb_test_multiple and exp_continue till you have the both
results, no matter in which order they come. That way the testcase would not
submit a new command before the previous one has completed.
Thanks,
Jan