This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 03/12] Step over exit with reinsert breakpoints
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 13 Jun 2016 16:01:10 +0100
- Subject: Re: [PATCH 03/12] Step over exit with reinsert breakpoints
- Authentication-results: sourceware.org; auth=none
- References: <1464859846-15619-1-git-send-email-yao dot qi at linaro dot org> <1464859846-15619-4-git-send-email-yao dot qi at linaro dot org> <fe1a3cc0-2c32-c3bd-0f96-1b6efa7e6724 at redhat dot com> <86y469ta2r dot fsf at gmail dot com>
On 06/13/2016 03:52 PM, Yao Qi wrote:
> Pedro Alves <palves@redhat.com> writes:
>
>>> +gdb_test "continue" "exited normally.*" "continue to end (2)"
>>> +gdb_test "inferior 1" ".*Switching to inferior 1.*" \
>>> + "switch back to inferior 1 (2)"
>>
>> Please don't use trailing " ($foo)" to differentiate tests (throughout).
>
> so, I use "first time" and "second time" to differentiate the test, like
>
> gdb_test "inferior 1" ".*Switching to inferior 1.*" \
> "switch back to inferior 1, second time"
Yes, that's fine.
Thanks,
Pedro Alves