> > --- a/gdb/testsuite/gdb.ada/info_exc.exp > > +++ b/gdb/testsuite/gdb.ada/info_exc.exp > > @@ -34,9 +34,7 @@ gdb_test "info exceptions" \ > > "program_error: $hex" \ > > "storage_error: $hex" \ > > "tasking_error: $hex" \ > > - ".*" \ > > - "const.aint_global_gdb_e: $hex" \ > > - ".*"] > > + "\(.*\r\n\)*const.aint_global_gdb_e: $hex\(.*\r\n\)*"] > > > > gdb_test "info exceptions task" \ > > [multi_line "All Ada exceptions matching regular expression > > \"task\":" \ I missed that answer, and came up with something very similar, which I checked in. Here it is: gdb/testsuite/ChangeLog: * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output. Tested on x86_64-linux. I thought about using join directly with the relaxed end-of-line sequence to restore the original behavior, but then decided against it, because this expected output is stricter, and I think that's better. So I came up with the attached patch, which is another way of doing what Pierre Marie had done. -- Joel