From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4726 invoked by alias); 9 Sep 2002 19:49:32 -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 4665 invoked from network); 9 Sep 2002 19:49:30 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 9 Sep 2002 19:49:30 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 78B083F43; Mon, 9 Sep 2002 15:49:30 -0400 (EDT) Message-ID: <3D7CFB4A.9060300@ges.redhat.com> Date: Mon, 09 Sep 2002 12:49: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: Michael Snyder Cc: 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> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00129.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 ... > 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. enjoy, Andrew