This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix mi-pending.exp test output to allow stable test diffing
- From: Pedro Alves <palves at redhat dot com>
- To: Antoine Tremblay <antoine dot tremblay at ericsson dot com>, gdb-patches at sourceware dot org
- Date: Tue, 24 Mar 2015 17:47:38 +0000
- Subject: Re: [PATCH] Fix mi-pending.exp test output to allow stable test diffing
- Authentication-results: sourceware.org; auth=none
- References: <55119A52 dot 10301 at redhat dot com> <1427218368-5087-1-git-send-email-antoine dot tremblay at ericsson dot com>
Thanks. Please push.
Thanks,
Pedro Alves
On 03/24/2015 05:32 PM, Antoine Tremblay wrote:
> /* Not part of the commit comment
> This gives the following output :
> PASS: gdb.mi/mi-pending.exp: MI pending breakpoint on mi-pendshr.c:pendfunc2 if x==4
> */
>
> gdb/testsuite/ChangeLog:
>
> * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
> ---
> gdb/testsuite/gdb.mi/mi-pending.exp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gdb/testsuite/gdb.mi/mi-pending.exp b/gdb/testsuite/gdb.mi/mi-pending.exp
> index e289cd9..88c6870 100644
> --- a/gdb/testsuite/gdb.mi/mi-pending.exp
> +++ b/gdb/testsuite/gdb.mi/mi-pending.exp
> @@ -66,7 +66,7 @@ mi_gdb_test "-break-insert -f pendfunc1" \
> # Set pending breakpoint with a condition via MI.
> mi_gdb_test "-break-insert -f -c x==4 ${libsrc1}:pendfunc2" \
> ".*\\^done,bkpt=\{number=\"2\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"<PENDING>\",pending=\"${libsrc1}:pendfunc2\",cond=\"x==4\",times=\"0\",original-location=\"${libsrc1}:pendfunc2\"\}"\
> - "MI pending breakpoint on ${libsrc1}:pendfunc2 if x==4"
> + "MI pending breakpoint on ${libfile1}.c:pendfunc2 if x==4"
>
> # Set breakpoint so that we can stop when the thread is created
> mi_gdb_test "-break-insert -f thread_func" \
>