This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] 64-bit corefile support for Irix
- From: Andrew Cagney <ac131313 at ges dot redhat dot com>
- To: Michael Snyder <msnyder at cygnus dot com>
- Cc: binutils at sources dot redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Mon, 09 Sep 2002 15:49:30 -0400
- Subject: Re: [RFA] 64-bit corefile support for Irix
- References: <200209052318.g85NI1Z08943@reddwarf.sfbay.redhat.com>
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 <msnyder@redhat.com>
* 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