From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3323 invoked by alias); 25 Oct 2009 18:42:51 -0000 Received: (qmail 3311 invoked by uid 22791); 25 Oct 2009 18:42:51 -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-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 25 Oct 2009 18:42:47 +0000 Received: from jupiter.vmware.com (mailhost5.vmware.com [10.16.68.131]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 22B0713054; Sun, 25 Oct 2009 11:42:46 -0700 (PDT) Received: from [10.20.94.141] (msnyder-server.eng.vmware.com [10.20.94.141]) by jupiter.vmware.com (Postfix) with ESMTP id 14B61DC058; Sun, 25 Oct 2009 11:42:46 -0700 (PDT) Message-ID: <4AE49A75.9030007@vmware.com> Date: Sun, 25 Oct 2009 18:42: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> <4AE3A79A.6060600@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/msg00630.txt.bz2 Hui Zhu wrote: > $ ./gdb ./a.exe > 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: > ... > Reading symbols from /home/hzhu/gdb/bgdbcygwin/gdb/a.exe...done. > Setting up the environment for debugging gdb. > Function "internal_error" not defined. > Make breakpoint pending on future shared library load? (y or [n]) > [answered N; input not from terminal] > Function "info_command" not defined. > 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) start > Temporary breakpoint 1 at 0x4010b0: file > /cygdrive/c/study/gcc/gdb/rec/1.c, line 20. > Starting program: /home/hzhu/gdb/bgdbcygwin/gdb/a.exe > [New Thread 3820.0x600] > [New Thread 3820.0x14c] > [New Thread 3820.0xf94] > > Temporary breakpoint 1, main () at /cygdrive/c/study/gcc/gdb/rec/1.c:20 > 20 int b = 0; > (gdb) gcore > Can't create a corefile > (gdb) > > /* An external target method must build the notes section. */ > note_data = target_make_corefile_notes (obfd, ¬e_size); > > It's target depend. > > It just a error output, better than build error. > > Thanks, > Hui Fine, if you can make it work. I'll be happy to look at a patch.