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 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 (éå)


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