[PATCH 19/29] gdb/testsuite: Remove duplicates from gdb.base/exprs.exp

Lancelot SIX lsix@lancelotsix.com
Wed Dec 15 00:21:33 GMT 2021


> The following test_expr is also under output-radix 8.  This seems to be begging for:
> 
> with_test_prefix "output-radix 8" {
>   gdb_test "set output-radix 8" ".*"
>   test_expr "print red" "\\$\[0-9\]* = red"
>   test_expr "print/d red" "\\$\[0-9\]* = 0"
>   gdb_test "set output-radix 10" ".*"
> }
> 
> WDYT?

Yes, it makes sense.  Thanks.  I have updated my patch locally
accordingly.

Lancelot.


More information about the Gdb-patches mailing list