GNU Binutils with patches for OS216
Révision | 8b558f797a3a63aaa8de119ddf53c8afdd1dc6eb (tree) |
---|---|
l'heure | 2015-07-21 07:18:24 |
Auteur | Joel Brobecker <brobecker@adac...> |
Commiter | Joel Brobecker |
gdb.ada/info_exc.exp: Adjust expected output in "info exception" test.
Since multi_line was moved to gdb.exp in a slightly stricter form,
The gdb.ada/info_exc.exp:info exceptions test has been failing.
This is because it now expects a new-line sequence at the end of
each argument given to multi_line, including ".*". But the intent
when writing the test was to signify "could-be-nothing-at-all".
As a result, the test fails on x86_64-linux with a runtime built as
recommended, because of that
extra new-line sequence.
gdb/testsuite/ChangeLog:
@@ -1,3 +1,7 @@ | ||
1 | +2015-07-20 Joel Brobecker <brobecker@adacore.com> | |
2 | + | |
3 | + * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output. | |
4 | + | |
1 | 5 | 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
2 | 6 | |
3 | 7 | * gdb.arch/i386-biarch-core.exp: Replace istarget |
@@ -34,9 +34,7 @@ gdb_test "info exceptions" \ | ||
34 | 34 | "program_error: $hex" \ |
35 | 35 | "storage_error: $hex" \ |
36 | 36 | "tasking_error: $hex" \ |
37 | - ".*" \ | |
38 | - "const.aint_global_gdb_e: $hex" \ | |
39 | - ".*"] | |
37 | + ".*\[\r\n\]*const.aint_global_gdb_e: $hex\[\r\n\]*.*" ] | |
40 | 38 | |
41 | 39 | gdb_test "info exceptions task" \ |
42 | 40 | [multi_line "All Ada exceptions matching regular expression \"task\":" \ |