From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32021 invoked by alias); 12 Sep 2002 19:31:40 -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 31943 invoked from network); 12 Sep 2002 19:31:39 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 12 Sep 2002 19:31:39 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 903C73C44; Thu, 12 Sep 2002 15:31:36 -0400 (EDT) Message-ID: <3D80EB98.1040508@ges.redhat.com> Date: Thu, 12 Sep 2002 12:31:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, 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; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00210.txt.bz2 > Hi, > This patch will allow gdb (and hopefully objdump/objcopy) to read > 64-bit corefiles on Irix native. > > The file isn't maintained so ... Oops, it's also a BFD file so outside of GDB's control. Just ignore me :-) > 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. Turns out that the file can only be compiled on an IRIX system anyway. Andrew