[PATCH][RX] instructions test set..
Mike Frysinger
vapier@gentoo.org
Sun Dec 27 21:56:00 GMT 2015
On 27 Dec 2015 17:51, Yoshinori Sato wrote:
> index 0000000..e566c62
> --- /dev/null
> +++ b/sim/testsuite/sim/rx/allinsn.exp
> @@ -0,0 +1,25 @@
> +# Renesas RX simulator testsuite
> +
> +if [istarget rx-*-*] {
> + set global_ld_options "-Ttext=0x01000000 --defsym __stack=0x01800000"
> +
> + set mach "rx"
> + foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
> + # If we're only testing specific files and this isn't one of them,
> + # skip it.
> + if ![runtest_file_p $runtests $src] {
> + continue
> + }
> + run_sim_test $src $mach
> + }
> +
> + set mach "rxv2"
> + foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
> + # If we're only testing specific files and this isn't one of them,
> + # skip it.
> + if ![runtest_file_p $runtests $src] {
> + continue
> + }
> + run_sim_test $src $mach
> + }
> +}
doesn't it work if you call run_sim_test once with both rx & rxv2 ?
then you only need one loop.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20151227/c7a97dc4/attachment.sig>
More information about the Gdb-patches
mailing list