[RFA] 64-bit corefile support for Irix
Andrew Cagney
ac131313@ges.redhat.com
Mon Sep 9 12:49:00 GMT 2002
> 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
More information about the Binutils
mailing list