This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Skip gcore-buffer-overflow.exp on windows
> Date: Fri, 16 Nov 2012 09:11:23 +0800
> From: Yao Qi <yao@codesourcery.com>
> CC: <gdb-patches@sourceware.org>
>
> On 11/16/2012 01:09 AM, Eli Zaretskii wrote:
> > ??? First, does the MinGW build of GDB really support the gcore
> > command? In my testing, it fails saying "Can't create a corefile".
> > Which figures, since MinGW doesn't support them.
> >
>
> Eli,
> Our GDB is configured as "--host=i686-mingw32
> --target=i686-pc-linux-gnu", instead of native mingw32 gdb.
That explains one mystery, thanks.
> c:/cygwin/home/yqi/test-i686-mingw32/test-build5-lucid-cs/ia32-2012.09/bin/../lib/gcc/i686-pc-linux-gnu/4.7.2/../../../../i686-pc-linux-gnu/bin/ld.exe:
> cannot open output file
> /scratch/yqi/i686-pc-linux-gnu-lite/obj/test-2012.09-999999-i686-pc-linux-gnu/host-i686-mingw32/default/gdb.d/gdb.base/gcore-buffer-overflow-01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789:
This is still less than 256 characters, so I don't understand why it
fails. And you can make it even less if you use relative file names.
So this mystery still stands.