From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27423 invoked by alias); 16 Nov 2012 15:57:33 -0000 Received: (qmail 27400 invoked by uid 22791); 16 Nov 2012 15:57:33 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Nov 2012 15:57:27 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MDL00C008AJCT00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Fri, 16 Nov 2012 17:57:26 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MDL00C7S8BPAF20@a-mtaout22.012.net.il>; Fri, 16 Nov 2012 17:57:26 +0200 (IST) Date: Fri, 16 Nov 2012 15:57:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH] Skip gcore-buffer-overflow.exp on windows In-reply-to: <50A592BB.1070403@codesourcery.com> To: Yao Qi Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83pq3d4k3c.fsf@gnu.org> References: <1352991707-29104-1-git-send-email-yao@codesourcery.com> <83k3tmu71a.fsf@gnu.org> <50A592BB.1070403@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-11/txt/msg00462.txt.bz2 > Date: Fri, 16 Nov 2012 09:11:23 +0800 > From: Yao Qi > CC: > > 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.