Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@ges.redhat.com>
To: Andrew Cagney <ac131313@ges.redhat.com>
Cc: Michael Snyder <msnyder@cygnus.com>,
	binutils@sources.redhat.com, gdb-patches@sources.redhat.com
Subject: Re: [RFA] 64-bit corefile support for Irix
Date: Thu, 12 Sep 2002 12:31:00 -0000	[thread overview]
Message-ID: <3D80EB98.1040508@ges.redhat.com> (raw)
In-Reply-To: <3D7CFB4A.9060300@ges.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 ...

Oops, it's also a BFD file so outside of GDB's control.  Just ignore me :-)

> 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.

Turns out that the file can only be compiled on an IRIX system anyway.

Andrew



  parent reply	other threads:[~2002-09-12 19:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-05 16:18 Michael Snyder
2002-09-09 12:49 ` Andrew Cagney
2002-09-09 17:52   ` Michael Snyder
2002-09-12 12:31   ` Andrew Cagney [this message]
2002-09-12 15:01     ` Eric Christopher
2002-09-10  9:56 David Anderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D80EB98.1040508@ges.redhat.com \
    --to=ac131313@ges.redhat.com \
    --cc=binutils@sources.redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=msnyder@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox