This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] kfail mi-catch-load.exp on Windows
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 08 Oct 2013 18:38:44 +0100
- Subject: Re: [PATCH] kfail mi-catch-load.exp on Windows
- Authentication-results: sourceware.org; auth=none
- References: <1378947828-26323-1-git-send-email-yao at codesourcery dot com>
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