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: Yao Qi <yao at codesourcery dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Fri, 11 Oct 2013 15:25:46 +0800
- 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> <52544324 dot 7040003 at redhat dot com>
On 10/09/2013 01:38 AM, Pedro Alves wrote:
> Bummer. ISTR that I tried "catch load" on Windows/wine recently
> and it worked. It might just be an unexpected output issue.
> (gdb) ^M
=thread-exited,id="1",group-id="i1"^M
=thread-group-exited,id="i1",exit-code="0"^M
*stopped,reason="exited-normally"^M
(gdb) ^M
KFAIL: gdb.mi/mi-catch-load.exp: catch-load: solib-event stop (PRMS: mi/15945)
For the reference sake, here is how test failed,
(gdb) ^M
=thread-exited,id="1",group-id="i1"^M
=thread-group-exited,id="i1",exit-code="0"^M
*stopped,reason="exited-normally"^M
(gdb) ^M
KFAIL: gdb.mi/mi-catch-load.exp: catch-load: solib-event stop (PRMS: mi/15945)
....
=thread-exited,id="1",group-id="i1"^M
=thread-group-exited,id="i1",exit-code="0"^M
*stopped,reason="exited-normally"^M
(gdb) ^M
KFAIL: gdb.mi/mi-catch-load.exp: catch-unload: solib-event stop (PRMS: mi/15945)
>> >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.
Test this patch again on HEAD, kfail is still there. Patch is committed.
--
Yao (éå)