This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Share the "multi_line" helper among all Ada testcases
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Pierre-Marie de Rodat <derodat at adacore dot com>, Pedro Alves <palves at redhat dot com>, GDB Patches <gdb-patches at sourceware dot org>
- Date: Mon, 20 Jul 2015 18:42:22 -0400
- Subject: Re: [PATCH] Share the "multi_line" helper among all Ada testcases
- Authentication-results: sourceware.org; auth=none
- References: <54FEDB92 dot 9060808 at adacore dot com> <20150317200809 dot GD7494 at adacore dot com> <5509492C dot 5000604 at redhat dot com> <20150318141238 dot GE7494 at adacore dot com> <550C100D dot 5000500 at adacore dot com> <87oajas3pb dot fsf at redhat dot com> <55AD0A6E dot 6060604 at adacore dot com> <87r3o2rgeh dot fsf at redhat dot com> <20150720222317 dot GH7406 at adacore dot com>
On Monday, July 20 2015, Joel Brobecker wrote:
>> > --- 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:
Thanks, Joel and Pierre!
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/