From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5009 invoked by alias); 25 Oct 2009 01:26:35 -0000 Received: (qmail 4997 invoked by uid 22791); 25 Oct 2009 01:26:34 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 25 Oct 2009 01:26:30 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 4BC5F1C032; Sat, 24 Oct 2009 18:26:27 -0700 (PDT) Received: from [10.20.94.141] (msnyder-server.eng.vmware.com [10.20.94.141]) by mailhost3.vmware.com (Postfix) with ESMTP id 406DCCD9A5; Sat, 24 Oct 2009 18:26:27 -0700 (PDT) Message-ID: <4AE3A79A.6060600@vmware.com> Date: Sun, 25 Oct 2009 01:26:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: Hui Zhu CC: Michael Eager , Pierre Muller , "msnyder@sourceware.org" , "gdb-patches@sourceware.org" Subject: Re: Build failure: src/gdb ChangeLog record.c gcore.c gcore.h References: <20091022193607.13598.qmail@sourceware.org> <004e01ca53b5$5f9bc330$1ed34990$@u-strasbg.fr> <4AE1CC6E.1070604@vmware.com> <4AE37D44.10905@eagercon.com> <4AE386EF.60809@vmware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2009-10/txt/msg00617.txt.bz2 Hui Zhu wrote: > I try in cygwin with: > configure --disable-sid --disable-rda --disable-binutils --disable-gas > --disable-ld --disable-gprof --enable-targets=all --enable-64-bits-bfd > CFLAGS=-g > configure --disable-sid --disable-rda --disable-binutils --disable-gas > --disable-ld --disable-gprof > > Build is OK. > > $ ./gdb > GNU gdb (GDB) 7.0.50.20091025-cvs > Copyright (C) 2009 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "i686-pc-cygwin". > For bug reporting instructions, please see: > . > Setting up the environment for debugging gdb. > No symbol table is loaded. Use the "file" command. > Make breakpoint pending on future shared library load? (y or [n]) > [answered N; input not from terminal] > No symbol table is loaded. Use the "file" command. > Make breakpoint pending on future shared library load? (y or [n]) > [answered N; input not from terminal] > /home/hzhu/gdb/bgdbcygwin/gdb/.gdbinit:8: Error in sourced command file: > No breakpoint number 0. > (gdb) > > I think in gcore.o, there is not some host-special code. Just some target hook. > I suggest mv gcore.o to makefile.in and add code to check return value > in record.o when call gcore function. > What do you think about it? Can't be done. gcore depends on some callbacks that are not implemented for cygwin.