This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] MI ignores conditions for pending breakpoints
>>>>> "Marc" == Marc Khouzam <marc.khouzam@ericsson.com> writes:
Marc> -standard_testfile mi-pending.c mi-pendshr.c
Marc> -set lib_sl [standard_output_file mi-pendshr.sl]
Marc> +set libfile "mi-pendshr"
Marc> +standard_testfile mi-pending.c $libfile.c
Marc> +set lib_sl [standard_output_file $libfile.sl]
I think it is better to leave the standard_testfile call as-is:
standard_testfile mi-pending.c mi-pendshr.c
set lib_sl [standard_output_file mi-pendshr.sl]
and then
Marc> +mi_gdb_test "-break-insert -f -c x==4 ${libfile}.c:pendfunc2" \
... use ${srcfile2} here instead of ${libfile}.c
Setting srcfile2 is part of the contract of standard_testfile.
Tom