From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11341 invoked by alias); 23 Oct 2009 15:00:26 -0000 Received: (qmail 11327 invoked by uid 22791); 23 Oct 2009 15:00:25 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-pw0-f49.google.com (HELO mail-pw0-f49.google.com) (209.85.160.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Oct 2009 15:00:20 +0000 Received: by pwj3 with SMTP id 3so2243175pwj.8 for ; Fri, 23 Oct 2009 08:00:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.25.41 with SMTP id c41mr824257wfj.2.1256310019097; Fri, 23 Oct 2009 08:00:19 -0700 (PDT) In-Reply-To: References: <000301ca53c5$a332ab30$e9980190$@u-strasbg.fr> From: Hui Zhu Date: Fri, 23 Oct 2009 15:00:00 -0000 Message-ID: Subject: Re: More record.c build failures To: Michael Snyder Cc: gdb-patches ml , Pierre Muller , Tristan Gingold Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/msg00580.txt.bz2 Hi Michael, We forget some hosts don't support core dump. I have 2 ideas to handle this issue: 1. Make the record log don't together with core file. Then the record.c will not need gcore.o. 2. Divide the "record save" cmd out of record.c. Make gcore.o and this .o file togther. What do you think about them? Thanks, Hui On Fri, Oct 23, 2009 at 21:37, Tristan Gingold wrote: > > On Oct 23, 2009, at 11:46 AM, Pierre Muller wrote: > >> record.c is bound to give problems >> on all targets that do not compile gcore.c >> source. >> >> =A0gcore.o =A0is a optional object that >> is only added to the list of compiled >> object in the config directory. >> >> =A0Thus it is not possible to >> use this without some configure test... > > For the record (:-), record.c doesn't compile on Darwin because > doesn't exists (nor > bswap_xx). > > For these, maybe you could use bfd_getb64, bfd_getb32 and bfd_getb16 ? > > Tristan. > >