[patch] Support inferior events in python

Joel Brobecker brobecker@adacore.com
Fri Feb 11 15:55:00 GMT 2011


> +send_gdb "run\n"
> +gdb_expect {
> +    -re ".*stop reason: signal.*
> +.*stop signal: SIGSEGV.*
> +.*thread num: 3.*" {
> +        pass "thread 3 was signalled"
> +    }
> +    timeout {
> +	    fail "thread 3 was not signalled"
> +	}

Can you replace send_gdb+gdb_expext by gdb_test_multiple; it even
seems that a simple gdb_test would work, no?

-- 
Joel



More information about the Gdb-patches mailing list