[RFC] Use untested for macscp.exp if no macro information generated
Daniel Jacobowitz
drow@false.org
Sun Feb 1 18:28:00 GMT 2009
On Wed, Jan 28, 2009 at 02:23:11PM +0100, Pierre Muller wrote:
>
> I tried to simplify my patch for macro support
> in order to get less uninteresting failures.
I think your earlier patch had the right idea. Why did it leave some
failures? We should have none if we're going to skip the test.
> if {[list_and_check_macro main WHERE {macscp1.c {before macscp1_3}}]} {
> - return 0
> + global verbose
> + set macro_support "unknown"
> + send_gdb "info source\n"
> + gdb_expect 10 {
General note, please use gdb_test_multiple. No need for a timeout in
most cases; use the default setting.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb-patches
mailing list