This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix gdb.threads/dlopen-libpthread.exp crash
- From: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>, gdb-patches at sourceware dot org
- Date: Wed, 6 Apr 2016 21:43:50 +0100
- Subject: Re: [PATCH] Fix gdb.threads/dlopen-libpthread.exp crash
- Authentication-results: sourceware.org; auth=none
- References: <1459974166-1706-1-git-send-email-simon dot marchi at ericsson dot com>
On 04/06/2016 09:22 PM, Simon Marchi wrote:
> Following, commit
>
> 6e774b13c3b81ac2599812adf058796948ce7e95 Make ftrace tests work with remote targets
>
> the test gdb.threads/dlopen-libpthread.exp started to fail with:
>
> ERROR: error copying "/home/emaisin/build/binutils-gdb/gdb/testsuite/gdb.threads/dlopen-libpthread.so": no such file or directory
>
> This is because the library path is not computed using
> standard_output_file, so we try to gdb_load_shlibs an unexisting file.
>
> gdb/testsuite/ChangeLog:
>
> * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
> standard_output_file. Remove unused binfile variable.
OK. Thanks!
--
Pedro Alves