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: Simon Marchi <simon dot marchi at ericsson dot com>
- To: Pedro Alves <palves at redhat dot com>, <gdb-patches at sourceware dot org>
- Date: Wed, 6 Apr 2016 16:50:14 -0400
- 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> <57057506 dot 9070700 at redhat dot com>
On 16-04-06 04:43 PM, Pedro Alves wrote:
> 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!
Pushed, thanks for reporting!