[patch] Support inferior events in python

Jan Kratochvil jan.kratochvil@redhat.com
Fri Feb 11 19:46:00 GMT 2011


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



More information about the Gdb-patches mailing list