This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] kfail mi-catch-load.exp on Windows


On 09/12/2013 02:03 AM, Yao Qi wrote:
> Hi,
> mi-catch-load.c can't be compiled successfully on Windows,
> 
>   fatal error: dlfcn.h: No such file or directory
> 
> with the patch to mi-catch-load.c, it can be compiled.  However, there
> are two fails:
> 
>   FAIL: gdb.mi/mi-catch-load.exp: catch-load: solib-event stop
>   FAIL: gdb.mi/mi-catch-load.exp: catch-unload: solib-event stop

Bummer.  ISTR that I tried "catch load" on Windows/wine recently
and it worked.  It might just be an unexpected output issue.

> I didn't triage the fails.  I opened PR mi/15945 for them, and update
> mi-catch-load.exp to link with the PR.
> 
> gdb/testsuite:
> 
> 2013-09-12  Yao Qi  <yao@codesourcery.com>
> 
> 	* gdb.mi/mi-catch-load.c: Remove the include of "dlfcn.h".
> 	 [__WIN32__]: Include "windows.h" and define macro 'dlopen'
> 	 and 'dlclose'.
> 	[!__WIN32__]: Include "dlfcn.h".
> 	* gdb.mi/mi-catch-load.exp: Set up kfail.

OK.

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]