From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21207 invoked by alias); 10 Sep 2002 00:52:08 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 21184 invoked from network); 10 Sep 2002 00:52:07 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 10 Sep 2002 00:52:07 -0000 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id RAA21566; Mon, 9 Sep 2002 17:41:42 -0700 (PDT) Message-ID: <3D7D4236.570903E5@redhat.com> Date: Mon, 09 Sep 2002 17:52:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Andrew Cagney CC: Michael Snyder , binutils@sources.redhat.com, gdb-patches@sources.redhat.com Subject: Re: [RFA] 64-bit corefile support for Irix References: <200209052318.g85NI1Z08943@reddwarf.sfbay.redhat.com> <3D7CFB4A.9060300@ges.redhat.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00138.txt.bz2 Andrew Cagney wrote: > > > Hi, > > > > This patch will allow gdb (and hopefully objdump/objcopy) to read > > 64-bit corefiles on Irix native. > > The file isn't maintained so ... > > > 2002-09-05 Michael Snyder > > > > * irix-core.c (do_sections, do_sections64): New functions. > > (irix_core_core_file_p): Call new functions do_sections, > > do_sections64, depending on corefile (32-bit or 64-bit). > > > > Index: irix-core.c > > =================================================================== > > RCS file: /cvs/src/src/bfd/irix-core.c,v > > retrieving revision 1.7 > > diff -p -r1.7 irix-core.c > > *** irix-core.c 6 Jan 2002 07:30:35 -0000 1.7 > > --- irix-core.c 5 Sep 2002 23:14:39 -0000 > > *************** static boolean irix_core_core_file_match > > *** 50,55 **** > > --- 50,154 ---- > > PARAMS ((bfd *, bfd *)); > > static void swap_abort PARAMS ((void)); > > > > + /* Helper function for irix_core_core_file_p: > > + 32-bit and 64-bit versions. */ > > + > > + #ifdef CORE_MAGIC64 > > Where does the macro come from? Should BFD provide it so that it can > always be used. It comes from a system header file on Irix.