Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH] mips n64 support, part 1
Date: Wed, 31 Jul 2002 12:50:00 -0000	[thread overview]
Message-ID: <1020731191018.ZM22460@localhost.localdomain> (raw)
In-Reply-To: Kevin Buettner <kevinb@redhat.com> "Re: [PATCH] mips n64 support, part 1" (Jul 31, 11:56am)

On Jul 31, 11:56am, Kevin Buettner wrote:

> On Jul 31,  2:28pm, Daniel Jacobowitz wrote:
> 
> > Does mips_find_abi_section need another case?
> 
> Hmm.  I think it probably will.  For the time being, I'm testing on
> Irix and I don't see any .mdebug sections.  I.e, the test that I added
> gets the job done for the binaries that I'm working with.
> 
> > I believe GCC will write
> > out ".mdebug.abiN64", although I'm not 100% sure that I have the string
> > right.
> 
> I've asked Eric Christopher.  He says that ".mdebug.abiN64" looks
> right.  I'll submit a patch which adds this string.

Here it is (committed)...

	* mips-tdep.c (mips_find_abi_section): Add N64 ABI recognition
	test.  (Thanks to Daniel Jacobowitz.)

Index: mips-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-tdep.c,v
retrieving revision 1.82
diff -u -p -r1.82 mips-tdep.c
--- mips-tdep.c	31 Jul 2002 18:13:24 -0000	1.82
+++ mips-tdep.c	31 Jul 2002 19:03:07 -0000
@@ -4252,6 +4252,8 @@ mips_find_abi_section (bfd *abfd, asecti
     *abip = MIPS_ABI_O32;
   else if (strcmp (name, ".mdebug.abiN32") == 0)
     *abip = MIPS_ABI_N32;
+  else if (strcmp (name, ".mdebug.abiN64") == 0)
+    *abip = MIPS_ABI_N64;
   else if (strcmp (name, ".mdebug.abiO64") == 0)
     *abip = MIPS_ABI_O64;
   else if (strcmp (name, ".mdebug.eabi32") == 0)


  reply	other threads:[~2002-07-31 19:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-31 11:28 Kevin Buettner
2002-07-31 11:56 ` Daniel Jacobowitz
2002-07-31 12:00   ` Kevin Buettner
2002-07-31 12:50     ` Kevin Buettner [this message]
2002-08-01 11:52 ` Andrew Cagney
2002-08-01 12:02 ` Andrew Cagney
2002-08-01 12:06   ` Daniel Jacobowitz
2002-08-01 12:13     ` Kevin Buettner
2002-08-01 12:21       ` Daniel Jacobowitz

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=1020731191018.ZM22460@localhost.localdomain \
    --to=kevinb@redhat.com \
    --cc=drow@mvista.com \
    --cc=gdb-patches@sources.redhat.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